Bug 253599 - [GPU Process] Cache Gradient as a rendering resource
Summary: [GPU Process] Cache Gradient as a rendering resource
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: Said Abou-Hallawa
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-08 13:21 PST by Said Abou-Hallawa
Modified: 2023-03-27 17:14 PDT (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 Said Abou-Hallawa 2023-03-08 13:21:56 PST
Sending the gradient data to GPUProcess every time it is used forces creating the platform gradient. To avoid creating the platform gradient, we are going to cache Gradient as a rendering resource in GPUProcess. So the object (and its platform gradient) will stay alive in GPUProcess as long as the WebProcess gradient is alive.
Comment 1 Radar WebKit Bug Importer 2023-03-08 13:28:03 PST
<rdar://problem/106447608>
Comment 2 Said Abou-Hallawa 2023-03-08 13:31:49 PST
Pull request: https://github.com/WebKit/WebKit/pull/11252
Comment 3 EWS 2023-03-27 17:14:29 PDT
Committed 262185@main (676af9d86baa): <https://commits.webkit.org/262185@main>

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