Bug 244828 - Expose WebKit graphics functionality to WebCore worker threads
Summary: Expose WebKit graphics functionality to WebCore worker threads
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Matt Woodrow
URL:
Keywords: InRadar
Depends on: 244825 248415 248416 248417 248418
Blocks: 218482 244830 248419
  Show dependency treegraph
 
Reported: 2022-09-05 23:29 PDT by Matt Woodrow
Modified: 2022-12-07 14:04 PST (History)
1 user (show)

See Also:


Attachments

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