RESOLVED FIXED 246681
Add function to copy the state of a GraphicsContext to another GraphicsContext
https://bugs.webkit.org/show_bug.cgi?id=246681
Summary Add function to copy the state of a GraphicsContext to another GraphicsContext
Said Abou-Hallawa
Reported 2022-10-18 01:35:43 PDT
Changes in GraphicsContextState are tracked by an OptionSet. GraphicsContextState::mergeChanges() relies on this OptionSet to copy the changes from GraphicsContextState to another. This should work correctly if the two GraphicsContexts are synced all the times. But what we need for the canvas filter API is to copy the current GraphicsContextState of a canvas context to a newly created ImageBuffer.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-10-18 01:41:27 PDT
Said Abou-Hallawa
Comment 2 2022-10-18 01:42:15 PDT
EWS
Comment 3 2022-10-19 10:12:07 PDT
Committed 255741@main (f3147a407737): <https://commits.webkit.org/255741@main> Reviewed commits have been landed. Closing PR #5485 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.