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    

Said Abou-Hallawa
Reported 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.
Attachments
Said Abou-Hallawa
Comment 1 2022-10-09 17:43:35 PDT
Said Abou-Hallawa
Comment 2 2022-10-09 17:58:42 PDT
Said Abou-Hallawa
Comment 3 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.
Note You need to log in before you can comment on or make changes to this bug.