[Webkit-unassigned] [Bug 238066] New: [GPU Process] [GraphicsContextState 2/] Make GraphicsContextState keep track of changes till they are applied

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 17 23:47:34 PDT 2022


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

            Bug ID: 238066
           Summary: [GPU Process] [GraphicsContextState 2/] Make
                    GraphicsContextState keep track of changes till they
                    are applied
           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

A member of type GraphicsContextState::ChangeFlags will be added to GraphicsContextState to keep track of what has changes since it was last applied. We will eliminate the struct GraphicsContextStateChange.

We will have to have a single member for every GraphicsContextState::Change. 

1. We will combine the color, the pattern, the gradient and the gradient space transform in one class called SourceBrush.
2. We will combine the shadow offset, the shadow blurRadius, the show color and the radius mode in one struct called DropShadow
3. We will combine the CompositeOperator and the BledMode in one struct called CompositeMode.

GraphicsContextStateChange will handle setting its members, its encoding and decoding and its streaming to text.

-- 
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/20220318/b2d12084/attachment.htm>


More information about the webkit-unassigned mailing list