WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
258758
Restore Path cheap copying (refcount/COW PathStream)
https://bugs.webkit.org/show_bug.cgi?id=258758
Summary
Restore Path cheap copying (refcount/COW PathStream)
Simon Fraser (smfr)
Reported
2023-06-30 17:17:32 PDT
After
265569@main
, copying a Path with a PathStream impl results in cloning the PathStream, which might be large. This breaks the assumption of most of the existing code, that copying a Path is cheap because it's just refCounting a CGPathRef. So we should restore cheap copy, and make the PathStream copy-on-write.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-06-30 17:18:03 PDT
<
rdar://problem/111595182
>
Simon Fraser (smfr)
Comment 2
2023-07-05 17:44:15 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/15584
EWS
Comment 3
2023-07-06 10:01:58 PDT
Committed
265810@main
(bb3cac815bdf): <
https://commits.webkit.org/265810@main
> Reviewed commits have been landed. Closing PR #15584 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug