Bug 246681
Summary: | Add function to copy the state of a GraphicsContext to another GraphicsContext | ||
---|---|---|---|
Product: | WebKit | Reporter: | Said Abou-Hallawa <sabouhallawa> |
Component: | Canvas | Assignee: | Said Abou-Hallawa <sabouhallawa> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | bfulgham, dino, simon.fraser, webkit-bug-importer, zalan |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 198416 |
Said Abou-Hallawa
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/101282195>
Said Abou-Hallawa
Pull request: https://github.com/WebKit/WebKit/pull/5485
EWS
Committed 255741@main (f3147a407737): <https://commits.webkit.org/255741@main>
Reviewed commits have been landed. Closing PR #5485 and removing active labels.