Bug 259436 - Avoid going back to the GPU process for canvas ImageData when possible
Summary: Avoid going back to the GPU process for canvas ImageData when possible
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Myles C. Maxfield
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-07-23 18:13 PDT by Cameron McCormack (:heycam)
Modified: 2023-08-07 02:56 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cameron McCormack (:heycam) 2023-07-23 18:13:39 PDT
We can detect cases where getImageData() need not go back to the GPU process for ImageData.
Comment 1 Radar WebKit Bug Importer 2023-07-23 18:13:54 PDT
<rdar://problem/112746729>
Comment 2 Cameron McCormack (:heycam) 2023-07-23 18:19:02 PDT
Pull request: https://github.com/WebKit/WebKit/pull/16028
Comment 3 Said Abou-Hallawa 2023-08-04 15:30:48 PDT
In bug 227427, I tried to do the same thing (avoid going to GPUP if the image data in WebP is still valid).
Comment 4 EWS 2023-08-07 02:56:28 PDT
Committed 266632@main (5466cd2c2451): <https://commits.webkit.org/266632@main>

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