Bug 246264

Summary: [GPU Process] Enable drawing form controls for GPU Process on macOS
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: Layout and RenderingAssignee: Said Abou-Hallawa <sabouhallawa>
Status: RESOLVED INVALID    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=249168
Bug Depends on:    
Bug Blocks: 246263    

Description Said Abou-Hallawa 2022-10-09 17:41:14 PDT
Drawing the form controls have to happen in WebProcess because the NSControls can't be shared. We have to draw them to an ImageBuffer in WebProcess and send the ImageBuffer to GPU Process. Because IOKit will eventually be blocked in WebProcess, the temporary ImageBuffer has to be unaccelerated.
Comment 1 Said Abou-Hallawa 2022-10-09 17:43:35 PDT
rdar://69408789
Comment 2 Said Abou-Hallawa 2022-10-09 17:58:42 PDT
Pull request: https://github.com/WebKit/WebKit/pull/5174
Comment 3 Said Abou-Hallawa 2023-01-24 15:55:34 PST
We decided to take a different approach for this problem by drawing the control parts in GPUP using AppKit and CoreUI. See bug 249168.