Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 7d9a6549eb1269c0d823ac95fe940f17f49a4b53 https://github.com/WebKit/WebKit/commit/7d9a6549eb1269c0d823ac95fe940f17f49a4b53 Author: Carlos Garcia Campos <cgar...@igalia.com> Date: 2024-02-21 (Wed, 21 Feb 2024)
Changed paths: M Source/WebCore/platform/SourcesSkia.txt M Source/WebCore/platform/graphics/FloatRoundedRect.h A Source/WebCore/platform/graphics/skia/FloatRoundedRectSkia.cpp M Source/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp M Source/WebCore/platform/graphics/skia/PathSkia.cpp Log Message: ----------- [Skia] Use Skia API when adding rounded rect to path and strategy is PreferNative https://bugs.webkit.org/show_bug.cgi?id=269845 Reviewed by Adrian Perez de Castro. Also add conversion operators between FloatRounrdedRect and SkRREct to remove duplicated code. * Source/WebCore/platform/SourcesSkia.txt: * Source/WebCore/platform/graphics/FloatRoundedRect.h: * Source/WebCore/platform/graphics/skia/FloatRoundedRectSkia.cpp: Added. (WebCore::FloatRoundedRect::FloatRoundedRect): (WebCore::FloatRoundedRect::operator SkRRect const): * Source/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp: (WebCore::GraphicsContextSkia::fillRoundedRectImpl): (WebCore::GraphicsContextSkia::fillRectWithRoundedHole): * Source/WebCore/platform/graphics/skia/PathSkia.cpp: (WebCore::PathSkia::add): Canonical link: https://commits.webkit.org/275106@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