Bug 244828

Summary: Expose WebKit graphics functionality to WebCore worker threads
Product: WebKit Reporter: Matt Woodrow <mattwoodrow>
Component: WebKit Misc.Assignee: Matt Woodrow <mattwoodrow>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 244825, 248415, 248416, 248417, 248418    
Bug Blocks: 218482, 244830, 248419    

Description Matt Woodrow 2022-09-05 23:29:07 PDT
In order to do GPU rendering from within a WebWorker (bug 218482), we need to be able to create WebKit graphics objects (ChromeClient::createImageBuffer) from the worker thread.

This bug proposes to add a new 'client' WebCoreSupport object 'WorkerClient', which get created for each worker, and allows safe access from the worker thread to a subset of the ChromeClient API.
Comment 1 Matt Woodrow 2022-09-06 19:23:58 PDT
Pull request: https://github.com/WebKit/WebKit/pull/4085
Comment 2 Radar WebKit Bug Importer 2022-09-12 23:30:20 PDT
<rdar://problem/99856707>
Comment 3 EWS 2022-12-07 14:04:21 PST
Committed 257507@main (280e6cdf0e10): <https://commits.webkit.org/257507@main>

Reviewed commits have been landed. Closing PR #4085 and removing active labels.