Bug 254013

Summary: keep decoded image data for background tabs in volatile memory
Product: WebKit Reporter: Cameron McCormack (:heycam) <heycam>
Component: WebKit Process ModelAssignee: Cameron McCormack (:heycam) <heycam>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Cameron McCormack (:heycam) 2023-03-15 23:53:39 PDT
Currently with full GPU process enabled, any images we draw will result in ShareableBitmaps that are held on to by the Web process until their owning NativeImage is destroyed.  This decoded image data is often not needed when a tab has gone into the background.  Let's try moving the decoded data into volatile memory once tabs go into the background, to reduce our footprint.
Comment 1 Radar WebKit Bug Importer 2023-03-15 23:53:55 PDT
<rdar://problem/106794310>
Comment 2 Cameron McCormack (:heycam) 2023-03-15 23:59:49 PDT
https://github.com/WebKit/WebKit/pull/11597
Comment 3 Cameron McCormack (:heycam) 2023-05-29 19:40:36 PDT
Preferred the approach in bug 254768.