Bug 267291

Summary: Umbrella: Using Canvas image sources between different canvases and canvas types is slow
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: CanvasAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: dino, simontaylor1, webkit-bug-importer, yegor.jbanov
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 234920, 266215, 267290    
Bug Blocks:    

Description Kimmo Kinnunen 2024-01-09 11:46:33 PST
Umbrella: Using Canvas image sources between different canvases and canvas types is slow

- Video
- Offscreen canvas
- WebGL 
- 2DContext
- Bitmaprenderer
Comment 1 Radar WebKit Bug Importer 2024-01-12 12:16:34 PST
<rdar://problem/120916864>
Comment 2 Yegor 2024-05-01 09:39:06 PDT
Here's a couple of repro cases:

Plain JS repro: https://jsfiddle.net/yjbanov/0vurdt42/8/

Flutter Web repro: https://image-bitmap-stress-test.web.app/

Fixing this will help us make Flutter web apps run much smoother in Safari and consume less memory.