Bug 275771

Summary: REGRESSION(280148@main): It regressed the score of MotionMark CanvasLines
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: CanvasAssignee: Said Abou-Hallawa <sabouhallawa>
Status: RESOLVED FIXED    
Severity: Normal CC: sabouhallawa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Said Abou-Hallawa
Reported 2024-06-21 23:07:52 PDT
Before 280148@main, CanvasRenderingContext2DBase::fillInternal() and CanvasRenderingContext2DBase::strokeInternal() used to call Path::fastBoundingRect() only when the global filter is set. fastBoundingRect() is an expensive operation and should not be called unless its value will be used by CanvasFilterContextSwitcher::create(). CanvasLines draws all the path segments without any filter set. So calculating the fastBoundingRect() is not needed in this case.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-06-21 23:08:11 PDT
Said Abou-Hallawa
Comment 2 2024-06-21 23:13:16 PDT
EWS
Comment 3 2024-06-22 13:27:58 PDT
Committed 280282@main (13a39723d661): <https://commits.webkit.org/280282@main> Reviewed commits have been landed. Closing PR #30079 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.