[Webkit-unassigned] [Bug 246681] New: Add function to copy the state of a GraphicsContext to another GraphicsContext

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 18 01:35:43 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=246681

            Bug ID: 246681
           Summary: Add function to copy the state of a GraphicsContext to
                    another GraphicsContext
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabouhallawa at apple.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221018/4efcfa3f/attachment.htm>


More information about the webkit-unassigned mailing list