[webkit-changes] [WebKit/WebKit] 9dbbb7: Port out-of-line display list items to the new ser...
Gavin
noreply at github.com
Mon Feb 27 05:23:51 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9dbbb78ff5f144ced7c9091bc09262d84df511d3
https://github.com/WebKit/WebKit/commit/9dbbb78ff5f144ced7c9091bc09262d84df511d3
Author: Gavin Phillips <gavin.p at apple.com>
Date: 2023-02-27 (Mon, 27 Feb 2023)
Changed paths:
M Source/WebCore/platform/graphics/displaylists/DisplayListItems.cpp
M Source/WebCore/platform/graphics/displaylists/DisplayListItems.h
M Source/WebCore/platform/graphics/displaylists/DisplayListRecorderImpl.cpp
M Source/WebKit/CMakeLists.txt
M Source/WebKit/DerivedSources-input.xcfilelist
M Source/WebKit/DerivedSources.make
A Source/WebKit/Shared/DisplayListArgumentCoders.serialization.in
M Source/WebKit/WebKit.xcodeproj/project.pbxproj
M Source/WebKit/WebProcess/GPU/graphics/RemoteDisplayListRecorderProxy.cpp
M Tools/TestWebKitAPI/Tests/WebCore/DisplayListTests.cpp
Log Message:
-----------
Port out-of-line display list items to the new serialization format
https://bugs.webkit.org/show_bug.cgi?id=252895
rdar://105881207
Reviewed by Alex Christensen.
Ports the out-of-line display list items to the new serialization format.
This includes:
- SetState
- SetLineDash
- ClipOutToPath
- ClipPath
- ClipPath
- DrawGlyphs
- DrawSystemImage
- DrawLinesForText
- DrawPath
- DrawFocusRingPath
- DrawFocusRingRects
- FillRectWithColor
- FillRectWithGradient
- FillCompositedRect
- FillRoundedRect
- FillRectWithRoundedHole
- FillPath
- StrokePath
* Source/WebCore/platform/graphics/displaylists/DisplayListItems.cpp:
(WebCore::DisplayList::DrawLinesForText::DrawLinesForText):
(WebCore::DisplayList::FillRectWithGradient::FillRectWithGradient):
* Source/WebCore/platform/graphics/displaylists/DisplayListItems.h:
(WebCore::DisplayList::DrawGlyphs::fontIdentifier const):
(WebCore::DisplayList::DrawGlyphs::positionedGlyphs const):
(WebCore::DisplayList::FillRectWithGradient::gradient const):
(WebCore::DisplayList::SetState::encode const): Deleted.
(WebCore::DisplayList::SetState::decode): Deleted.
(WebCore::DisplayList::SetLineDash::encode const): Deleted.
(WebCore::DisplayList::SetLineDash::decode): Deleted.
(WebCore::DisplayList::ClipOutToPath::encode const): Deleted.
(WebCore::DisplayList::ClipOutToPath::decode): Deleted.
(WebCore::DisplayList::ClipPath::encode const): Deleted.
(WebCore::DisplayList::ClipPath::decode): Deleted.
(WebCore::DisplayList::DrawGlyphs::fontIdentifier): Deleted.
(WebCore::DisplayList::DrawGlyphs::encode const): Deleted.
(WebCore::DisplayList::DrawGlyphs::decode): Deleted.
(WebCore::DisplayList::DrawSystemImage::encode const): Deleted.
(WebCore::DisplayList::DrawSystemImage::decode): Deleted.
(WebCore::DisplayList::DrawLinesForText::encode const): Deleted.
(WebCore::DisplayList::DrawLinesForText::decode): Deleted.
(WebCore::DisplayList::DrawPath::encode const): Deleted.
(WebCore::DisplayList::DrawPath::decode): Deleted.
(WebCore::DisplayList::DrawFocusRingPath::encode const): Deleted.
(WebCore::DisplayList::DrawFocusRingPath::decode): Deleted.
(WebCore::DisplayList::DrawFocusRingRects::encode const): Deleted.
(WebCore::DisplayList::DrawFocusRingRects::decode): Deleted.
(WebCore::DisplayList::FillRectWithColor::encode const): Deleted.
(WebCore::DisplayList::FillRectWithColor::decode): Deleted.
(WebCore::DisplayList::FillRectWithGradient::encode const): Deleted.
(WebCore::DisplayList::FillRectWithGradient::decode): Deleted.
(WebCore::DisplayList::FillCompositedRect::encode const): Deleted.
(WebCore::DisplayList::FillCompositedRect::decode): Deleted.
(WebCore::DisplayList::FillRoundedRect::encode const): Deleted.
(WebCore::DisplayList::FillRoundedRect::decode): Deleted.
(WebCore::DisplayList::FillRectWithRoundedHole::encode const): Deleted.
(WebCore::DisplayList::FillRectWithRoundedHole::decode): Deleted.
(WebCore::DisplayList::FillPath::encode const): Deleted.
(WebCore::DisplayList::FillPath::decode): Deleted.
(WebCore::DisplayList::StrokePath::encode const): Deleted.
(WebCore::DisplayList::StrokePath::decode): Deleted.
* Source/WebCore/platform/graphics/displaylists/DisplayListRecorderImpl.cpp:
(WebCore::DisplayList::RecorderImpl::recordDrawLinesForText):
* Source/WebKit/CMakeLists.txt:
* Source/WebKit/DerivedSources-input.xcfilelist:
* Source/WebKit/DerivedSources.make:
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:
* Source/WebKit/WebProcess/GPU/graphics/RemoteDisplayListRecorderProxy.cpp:
(WebKit::RemoteDisplayListRecorderProxy::recordDrawLinesForText):
* Tools/TestWebKitAPI/Tests/WebCore/DisplayListTests.cpp:
(TestWebKitAPI::TEST):
Canonical link: https://commits.webkit.org/260879@main
More information about the webkit-changes
mailing list