Bug 248419

Summary: Create accelerated image buffers for OffscreenCanvas, even if they're on a worker.
Product: WebKit Reporter: Matt Woodrow <mattwoodrow>
Component: Layout and RenderingAssignee: Matt Woodrow <mattwoodrow>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 244828    
Bug Blocks: 218482    

Description Matt Woodrow 2022-11-28 13:11:49 PST
ImageBitmap::createImageBuffer has been updated to determine the appropriate GraphicsClient for the thread from the ScriptExecutionContext, and uses that when allocating buffers, so that we get GPUP backed image buffers for workers.
Comment 1 Radar WebKit Bug Importer 2022-11-28 13:12:28 PST
<rdar://problem/102731039>
Comment 2 Matt Woodrow 2022-11-28 13:21:39 PST
Pull request: https://github.com/WebKit/WebKit/pull/6880
Comment 3 EWS 2022-12-07 16:09:55 PST
Committed 257520@main (ec74fcfe2fee): <https://commits.webkit.org/257520@main>

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