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>.
Pull request: https://github.com/WebKit/WebKit/pull/17595
Committed 267806@main (82ca220bc8d5): <https://commits.webkit.org/267806@main> Reviewed commits have been landed. Closing PR #17595 and removing active labels.
<rdar://problem/115185434>