WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
237424
REGRESSION (Safari 15.3): Drawing video on canvas results in black canvas if GPU Process: Canvas rendering is on
https://bugs.webkit.org/show_bug.cgi?id=237424
Summary
REGRESSION (Safari 15.3): Drawing video on canvas results in black canvas if ...
peter.parks.eron
Reported
2022-03-03 05:40:04 PST
When video uses Hls stream as a source in Safari, and when I want to draw that video onto the canvas using drawImage(video, 0, 0, w, h) (
https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage
), canvas results in a black image. If I turn off the experimental feature- GPU Process: Canvas Rendering, everything works as expected. And it worked as expected in previous Safari versions.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-03-04 09:16:40 PST
<
rdar://problem/89817412
>
peter.parks.eron
Comment 2
2022-03-14 11:13:47 PDT
I guess that it started with the first version that included GPU Process: Canvas Rendering as On by default.
Jer Noble
Comment 3
2022-03-30 14:03:59 PDT
This appears to work correctly now: <
https://jernoble.github.io/samples/bin/video-to-canvas/hls.html
> Peter, would you mind testing with a recent STP build?
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug