Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 36e2b75b534d1ba68cbbcab3f6c9208dce412411 https://github.com/WebKit/WebKit/commit/36e2b75b534d1ba68cbbcab3f6c9208dce412411 Author: Chris Dumez <cdu...@apple.com> Date: 2024-12-30 (Mon, 30 Dec 2024)
Changed paths: M Source/WebCore/platform/graphics/BifurcatedGraphicsContext.cpp M Source/WebCore/platform/graphics/BifurcatedGraphicsContext.h M Source/WebCore/platform/graphics/ColorConversion.cpp M Source/WebCore/platform/graphics/ColorConversion.h M Source/WebCore/platform/graphics/ComplexTextController.cpp M Source/WebCore/platform/graphics/ComplexTextController.h M Source/WebCore/platform/graphics/DecomposedGlyphs.cpp M Source/WebCore/platform/graphics/DecomposedGlyphs.h M Source/WebCore/platform/graphics/DrawGlyphsRecorder.h M Source/WebCore/platform/graphics/Font.cpp M Source/WebCore/platform/graphics/Font.h M Source/WebCore/platform/graphics/FontCache.cpp M Source/WebCore/platform/graphics/FontCascade.cpp M Source/WebCore/platform/graphics/FontCascade.h M Source/WebCore/platform/graphics/FontCascadeFonts.cpp M Source/WebCore/platform/graphics/GlyphBuffer.h M Source/WebCore/platform/graphics/GraphicsContext.cpp M Source/WebCore/platform/graphics/GraphicsContext.h M Source/WebCore/platform/graphics/NullGraphicsContext.h M Source/WebCore/platform/graphics/WidthIterator.cpp M Source/WebCore/platform/graphics/cairo/CairoOperationRecorder.cpp M Source/WebCore/platform/graphics/cairo/CairoOperationRecorder.h M Source/WebCore/platform/graphics/cairo/FontCairo.cpp M Source/WebCore/platform/graphics/coretext/ComplexTextControllerCoreText.mm M Source/WebCore/platform/graphics/coretext/DrawGlyphsRecorderCoreText.cpp M Source/WebCore/platform/graphics/coretext/FontCascadeCoreText.cpp M Source/WebCore/platform/graphics/coretext/FontCoreText.cpp M Source/WebCore/platform/graphics/displaylists/DisplayListItems.cpp M Source/WebCore/platform/graphics/displaylists/DisplayListItems.h M Source/WebCore/platform/graphics/displaylists/DisplayListRecorder.cpp M Source/WebCore/platform/graphics/displaylists/DisplayListRecorder.h M Source/WebCore/platform/graphics/displaylists/DisplayListRecorderImpl.cpp M Source/WebCore/platform/graphics/displaylists/DisplayListRecorderImpl.h M Source/WebCore/platform/graphics/harfbuzz/ComplexTextControllerHarfBuzz.cpp M Source/WebCore/platform/graphics/harfbuzz/DrawGlyphsRecorderHarfBuzz.cpp M Source/WebCore/platform/graphics/skia/ComplexTextControllerSkia.cpp M Source/WebCore/platform/graphics/skia/DrawGlyphsRecorderSkia.cpp M Source/WebCore/platform/graphics/skia/FontCascadeSkia.cpp M Source/WebCore/platform/graphics/win/ComplexTextControllerUniscribe.cpp M Source/WebCore/platform/graphics/win/DrawGlyphsRecorderWin.cpp M Source/WebCore/rendering/mathml/MathOperator.cpp M Source/WebCore/rendering/mathml/RenderMathMLToken.cpp M Source/WebKit/WebProcess/GPU/graphics/RemoteDisplayListRecorderProxy.cpp M Source/WebKit/WebProcess/GPU/graphics/RemoteDisplayListRecorderProxy.h M Tools/TestWebKitAPI/Tests/WebCore/ComplexTextController.cpp Log Message: ----------- Reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in WebCore/platform/graphics https://bugs.webkit.org/show_bug.cgi?id=285238 Reviewed by Darin Adler. * Source/WebCore/platform/graphics/BifurcatedGraphicsContext.cpp: (WebCore::BifurcatedGraphicsContext::drawGlyphs): * Source/WebCore/platform/graphics/BifurcatedGraphicsContext.h: * Source/WebCore/platform/graphics/ColorConversion.cpp: * Source/WebCore/platform/graphics/ColorConversion.h: * Source/WebCore/platform/graphics/ComplexTextController.cpp: * Source/WebCore/platform/graphics/ComplexTextController.h: (WebCore::ComplexTextController::ComplexTextRun::span const): * Source/WebCore/platform/graphics/DecomposedGlyphs.cpp: (WebCore::DecomposedGlyphs::create): * Source/WebCore/platform/graphics/DecomposedGlyphs.h: * Source/WebCore/platform/graphics/DrawGlyphsRecorder.h: * Source/WebCore/platform/graphics/Font.cpp: (WebCore::codePointSupportIndex): * Source/WebCore/platform/graphics/Font.h: * Source/WebCore/platform/graphics/FontCache.cpp: * Source/WebCore/platform/graphics/FontCascade.cpp: (WebCore::FontCascade::drawGlyphBuffer const): * Source/WebCore/platform/graphics/FontCascade.h: * Source/WebCore/platform/graphics/FontCascadeFonts.cpp: * Source/WebCore/platform/graphics/GlyphBuffer.h: (WebCore::GlyphBuffer::glyphsSpan): (WebCore::GlyphBuffer::advancesSpan): (WebCore::GlyphBuffer::glyphsSpan const): (WebCore::GlyphBuffer::advancesSpan const): * Source/WebCore/platform/graphics/GraphicsContext.cpp: (WebCore::GraphicsContext::drawGlyphs): (WebCore::GraphicsContext::drawDecomposedGlyphs): * Source/WebCore/platform/graphics/GraphicsContext.h: (WebCore::GraphicsContext::drawGlyphsAndCacheResources): * Source/WebCore/platform/graphics/NullGraphicsContext.h: * Source/WebCore/platform/graphics/coretext/DrawGlyphsRecorderCoreText.cpp: (WebCore::drawGlyphs): (WebCore::computeHorizontalAdvancesFromPositions): (WebCore::computeVerticalAdvancesFromPositions): (WebCore::DrawGlyphsRecorder::recordDrawGlyphs): (WebCore::DrawGlyphsRecorder::drawOTSVGRun): (WebCore::DrawGlyphsRecorder::drawNonOTSVGRun): (WebCore::DrawGlyphsRecorder::drawBySplittingIntoOTSVGAndNonOTSVGRuns): (WebCore::DrawGlyphsRecorder::drawGlyphs): * Source/WebCore/platform/graphics/coretext/FontCascadeCoreText.cpp: (WebCore::showGlyphsWithAdvances): (WebCore::FontCascade::drawGlyphs): * Source/WebCore/platform/graphics/coretext/FontCoreText.cpp: (WebCore::Font::findOTSVGGlyphs const): (WebCore::Font::hasAnyComplexColorFormatGlyphs const): * Source/WebCore/platform/graphics/displaylists/DisplayListItems.cpp: (WebCore::DisplayList::DrawGlyphs::DrawGlyphs): (WebCore::DisplayList::DrawGlyphs::apply const): * Source/WebCore/platform/graphics/displaylists/DisplayListItems.h: * Source/WebCore/platform/graphics/displaylists/DisplayListRecorder.cpp: (WebCore::DisplayList::Recorder::drawGlyphs): (WebCore::DisplayList::Recorder::drawGlyphsAndCacheResources): * Source/WebCore/platform/graphics/displaylists/DisplayListRecorder.h: * Source/WebCore/platform/graphics/displaylists/DisplayListRecorderImpl.cpp: (WebCore::DisplayList::RecorderImpl::recordDrawGlyphs): * Source/WebCore/platform/graphics/displaylists/DisplayListRecorderImpl.h: * Source/WebCore/platform/graphics/harfbuzz/DrawGlyphsRecorderHarfBuzz.cpp: (WebCore::DrawGlyphsRecorder::drawGlyphs): * Source/WebCore/platform/graphics/skia/DrawGlyphsRecorderSkia.cpp: (WebCore::DrawGlyphsRecorder::drawGlyphs): * Source/WebCore/platform/graphics/skia/FontCascadeSkia.cpp: (WebCore::FontCascade::drawGlyphs): * Source/WebCore/platform/graphics/win/DrawGlyphsRecorderWin.cpp: (WebCore::DrawGlyphsRecorder::drawGlyphs): * Source/WebCore/rendering/mathml/MathOperator.cpp: (WebCore::MathOperator::paintGlyph): * Source/WebCore/rendering/mathml/RenderMathMLToken.cpp: (WebCore::RenderMathMLToken::paint): * Source/WebKit/WebProcess/GPU/graphics/RemoteDisplayListRecorderProxy.cpp: (WebKit::RemoteDisplayListRecorderProxy::recordDrawGlyphs): * Source/WebKit/WebProcess/GPU/graphics/RemoteDisplayListRecorderProxy.h: Canonical link: https://commits.webkit.org/288340@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes