Bug 228216

Summary: ☂️ [GPU Process] Defer removal of resources in the GPU Process until we've executed all display list items which reference them
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: New BugsAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: ehutchison, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=229043
https://bugs.webkit.org/show_bug.cgi?id=235636
Bug Depends on: 228224, 228225, 228495    
Bug Blocks:    
Attachments:
Description Flags
WIP
none
WIP
none
First draft
none
Patch none

Description Myles C. Maxfield 2021-07-22 20:15:49 PDT
[GPU Process] Defer removal of resources in the GPU Process until we've executed all display list items which reference them
Comment 1 Myles C. Maxfield 2021-07-22 20:19:58 PDT
Created attachment 434059 [details]
WIP
Comment 2 Myles C. Maxfield 2021-07-22 21:19:06 PDT
Created attachment 434062 [details]
WIP
Comment 3 Myles C. Maxfield 2021-07-22 21:41:30 PDT
Created attachment 434063 [details]
First draft
Comment 4 Myles C. Maxfield 2021-07-23 01:20:31 PDT
1. https://bugs.webkit.org/show_bug.cgi?id=228219 [GPU Process] Migrate the DisplayList::Replayer::Delegate from RemoteImageBuffer to RemoteRenderingBackend
2. https://bugs.webkit.org/show_bug.cgi?id=228222 [GPU Process] Add resource use counter infrastructure to RemoteResourceCache
3. https://bugs.webkit.org/show_bug.cgi?id=228224 [GPU Process] Start tracking resource uses for NativeImages and Fonts
4. https://bugs.webkit.org/show_bug.cgi?id=228225 [GPU Process] Start tracking resource uses for ImageBuffers
Comment 5 Myles C. Maxfield 2021-07-23 01:21:43 PDT
<rdar://problem/80473805>
Comment 6 Myles C. Maxfield 2021-07-26 21:14:19 PDT
I guess this can be the bug that I use to remove all the TestExpectation lines
Comment 7 Myles C. Maxfield 2021-07-28 15:35:47 PDT
*** Bug 227881 has been marked as a duplicate of this bug. ***
Comment 8 Myles C. Maxfield 2021-07-28 15:36:42 PDT
Created attachment 434473 [details]
Patch
Comment 9 Wenson Hsieh 2021-07-28 17:09:45 PDT
Comment on attachment 434473 [details]
Patch

r=mews
Comment 10 EWS 2021-07-29 01:32:24 PDT
Committed r280418 (240058@main): <https://commits.webkit.org/240058@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 434473 [details].