Bug 267291 - Umbrella: Using Canvas image sources between different canvases and canvas types is slow
Summary: Umbrella: Using Canvas image sources between different canvases and canvas ty...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on: 234920 266215 267290
Blocks:
  Show dependency treegraph
 
Reported: 2024-01-09 11:46 PST by Kimmo Kinnunen
Modified: 2024-05-01 09:39 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 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.