Bug 281042

Summary: [WPE][GTK][Skia] High memory usage repeatedly using putImageData on accelerated canvas
Product: WebKit Reporter: Adrian Perez <aperez>
Component: CanvasAssignee: Adrian Perez <aperez>
Status: RESOLVED FIXED    
Severity: Normal CC: psaavedra, sabouhallawa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=282915
Bug Depends on:    
Bug Blocks: 268972    

Adrian Perez
Reported 2024-10-08 00:51:17 PDT
Running a test that repeatedly calls putImageData() on a canvas many times per frame when accelerated canvas usage is enabled (e.g. MiniBrowser --features=CanvasUsesAcceleratedDrawing) results in huge memory usage spikes with high chances of hitting OOM. A good reproducer is the running any game with the QAOP Spectrum emulator: http://torinak.com/qaop/games
Attachments
Adrian Perez
Comment 1 2024-10-08 06:20:20 PDT
EWS
Comment 2 2024-10-14 05:06:09 PDT
Committed 285116@main (2b8b7072fa8e): <https://commits.webkit.org/285116@main> Reviewed commits have been landed. Closing PR #34837 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2024-10-14 05:07:15 PDT
Note You need to log in before you can comment on or make changes to this bug.