Bug 248419 - Create accelerated image buffers for OffscreenCanvas, even if they're on a worker.
Summary: Create accelerated image buffers for OffscreenCanvas, even if they're on a wo...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Matt Woodrow
URL:
Keywords: InRadar
Depends on: 244828
Blocks: 218482
  Show dependency treegraph
 
Reported: 2022-11-28 13:11 PST by Matt Woodrow
Modified: 2022-12-07 16:09 PST (History)
4 users (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-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.