Bug 246264 - [GPU Process] Enable drawing form controls for GPU Process on macOS
Summary: [GPU Process] Enable drawing form controls for GPU Process on macOS
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Said Abou-Hallawa
URL:
Keywords: InRadar
Depends on:
Blocks: 246263
  Show dependency treegraph
 
Reported: 2022-10-09 17:41 PDT by Said Abou-Hallawa
Modified: 2023-01-24 15:55 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.