| Summary: | [MotionMark] Add a fast path for GraphicsContext::strokePath in the case where the path is a line | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Wenson Hsieh <wenson_hsieh> | ||||
| Component: | Canvas | Assignee: | Wenson Hsieh <wenson_hsieh> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | dino, sabouhallawa, thorton, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Wenson Hsieh
2020-10-08 15:32:53 PDT
Created attachment 410892 [details]
Patch
We should do the multiple only-lineto case too, someday. Comment on attachment 410892 [details] Patch (In reply to Tim Horton from comment #2) > We should do the multiple only-lineto case too, someday. Indeed! We should be able to do this for paths consisting of up to 3 line segments (without bumping the current size of the InlinePathData variant). Committed r268240: <https://trac.webkit.org/changeset/268240> All reviewed patches have been landed. Closing bug and clearing flags on attachment 410892 [details]. |