Bug 224781
| Summary: | GPUConnectionToWebProcess::CreateRenderingBackend IPC should be asynchronous | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> |
| Component: | WebKit2 | Assignee: | Chris Dumez <cdumez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | kkinnunen, lingcherd_ho, sabouhallawa, simon.fraser, thorton, webkit-bug-importer, wenson_hsieh |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 224778 | ||
| Bug Blocks: | |||
Chris Dumez
GPUConnectionToWebProcess::CreateRenderingBackend IPC should be asynchronous. We had to make it synchronous as a temporary workaround for Bug 224778. We need to find the underlying cause of Bug 224778 and make the IPC async again.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chris Dumez
When running MotionMark's Canvas-Arcs, in the success case, I see RemoteRenderingBackend::didCreateSharedDisplayListHandle() getting called at least 4 times. However, in the failure case, it seems RemoteRenderingBackend::didCreateSharedDisplayListHandle() is only called once.
In both failure and success cases, I see many calls to RemoteRenderingBackend::wakeUpAndApplyDisplayList() and the initialization stage (GPUConnectionToWebProcess::createRenderingBackend & RemoteRenderingBackend::createImageBuffer) looks the same.
Chris Dumez
(In reply to Chris Dumez from comment #1)
> When running MotionMark's Canvas-Arcs, in the success case, I see
> RemoteRenderingBackend::didCreateSharedDisplayListHandle() getting called at
> least 4 times. However, in the failure case, it seems
> RemoteRenderingBackend::didCreateSharedDisplayListHandle() is only called
> once.
>
> In both failure and success cases, I see many calls to
> RemoteRenderingBackend::wakeUpAndApplyDisplayList() and the initialization
> stage (GPUConnectionToWebProcess::createRenderingBackend &
> RemoteRenderingBackend::createImageBuffer) looks the same.
Note that I haven't been able to reproduce on macOS. On iOS with iPad, it is flaky but fairly easily reproducible.
Chris Dumez
<https://commits.webkit.org/236786@main>
Ling Ho
rdar://76898311