[Webkit-unassigned] [Bug 256408] New: [GPU Process] Cache all RenderingResources as one type

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 5 19:39:17 PDT 2023


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

            Bug ID: 256408
           Summary: [GPU Process] Cache all RenderingResources as one type
           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

This makes adding a new RenderingResource less pervasive. RenderingResources are mainly cached to control their lifetime between WebProcess and GPUProcess. Their concrete types are rarely used especially in WebProcess. So replace the pointers to NativeImage, DecomposedGlyphs and Gradient to just a pointer to RenderingResource. Add to these classes traits so RenderingResource can be casted to any of them.

-- 
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/20230506/e311ef0c/attachment.htm>


More information about the webkit-unassigned mailing list