With GPU process (for canvas) enabled, this improves performance by roughly 20-25% on the Canvas Lines subtest.
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].
<rdar://problem/70120461>