Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2803f8f8195aea4bed102cbeb1335c403bccd637
      
https://github.com/WebKit/WebKit/commit/2803f8f8195aea4bed102cbeb1335c403bccd637
  Author: Kimmo Kinnunen <[email protected]>
  Date:   2025-05-08 (Thu, 08 May 2025)

  Changed paths:
    M Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations
    M Source/WebCore/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations
    M Source/WebCore/platform/graphics/Path.cpp
    M Source/WebCore/platform/graphics/Path.h

  Log Message:
  -----------
  Drawing paths spends time in Path::add*() functions
https://bugs.webkit.org/show_bug.cgi?id=292662
rdar://150843179

Reviewed by Simon Fraser.

Inline most of Path::add* functions.

* Source/WebCore/platform/graphics/Path.cpp:
(WebCore::Path::moveTo): Deleted.
(WebCore::Path::asSingleMoveTo const): Deleted.
(WebCore::Path::addLineTo): Deleted.
(WebCore::Path::addQuadCurveTo): Deleted.
(WebCore::Path::addBezierCurveTo): Deleted.
(WebCore::Path::addArcTo): Deleted.
(WebCore::Path::addArc): Deleted.
(WebCore::Path::addEllipse): Deleted.
(WebCore::Path::addEllipseInRect): Deleted.
(WebCore::Path::addRect): Deleted.
(WebCore::Path::closeSubpath): Deleted.
(WebCore::Path::currentPoint const): Deleted.
* Source/WebCore/platform/graphics/Path.h:
(WebCore::Path::moveTo):
(WebCore::Path::addLineTo):
(WebCore::Path::addQuadCurveTo):
(WebCore::Path::addBezierCurveTo):
(WebCore::Path::addArcTo):
(WebCore::Path::addArc):
(WebCore::Path::addEllipse):
(WebCore::Path::addEllipseInRect):
(WebCore::Path::addRect):
(WebCore::Path::closeSubpath):
(WebCore::Path::currentPoint const):
(WebCore::Path::initialMoveToPoint const):

Canonical link: https://commits.webkit.org/294661@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

Reply via email to