Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d8a5885accdfcfab160da1dada50396d51a076e8
https://github.com/WebKit/WebKit/commit/d8a5885accdfcfab160da1dada50396d51a076e8
Author: Kimmo Kinnunen <[email protected]>
Date: 2025-05-06 (Tue, 06 May 2025)
Changed paths:
M Source/WebCore/platform/graphics/Path.cpp
M Source/WebCore/platform/graphics/Path.h
M Source/WebCore/platform/graphics/PathSegment.cpp
M Source/WebCore/platform/graphics/PathSegment.h
Log Message:
-----------
GPUP: Drawing paths spends time in Path related constructors
https://bugs.webkit.org/show_bug.cgi?id=292594
rdar://150749584
Reviewed by Simon Fraser.
Inline Path(PathSegment) and PathSegment constructors. They only invoke
variant construction, likely resulting in equal code size as calling
the function.
Inline and default Path(const Path&), to be consistent with move
construction and copy and move assignments.
* Source/WebCore/platform/graphics/Path.cpp:
* Source/WebCore/platform/graphics/Path.h:
(WebCore::Path::Path):
* Source/WebCore/platform/graphics/PathSegment.cpp:
(WebCore::PathSegment::PathSegment): Deleted.
* Source/WebCore/platform/graphics/PathSegment.h:
(WebCore::PathSegment::PathSegment):
Canonical link: https://commits.webkit.org/294569@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes