Bug 261337 - Group preferences shared by the WebProcess to the GPUProcess into a new structure
Summary: Group preferences shared by the WebProcess to the GPUProcess into a new struc...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-09-08 09:49 PDT by Chris Dumez
Modified: 2023-10-05 01:59 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2023-09-08 09:49:26 PDT
Group preferences shared by the WebProcess to the GPUProcess into a new structure. We currently have 3 preferences (WebGPU, WebGL, DOMRendering) which are dealt with individually. We now have a new GPUProcessPreferencesForWebProcess structure with a single code path to communicate those to the GPUProcess.

This reduces the amount of IPC between the UIProcess and the GPUProcess and will make it easier to do synchronization (wait until the GPUProcess has updated its preferences before proceeding), in order to fix <rdar://114245301>.
Comment 1 Chris Dumez 2023-09-08 09:52:56 PDT
Pull request: https://github.com/WebKit/WebKit/pull/17595
Comment 2 EWS 2023-09-08 12:28:51 PDT
Committed 267806@main (82ca220bc8d5): <https://commits.webkit.org/267806@main>

Reviewed commits have been landed. Closing PR #17595 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-09-08 12:32:40 PDT
<rdar://problem/115185434>