Write talos glvideo/canvas2dvideo style tests for WebCodecs and DOM workers
Categories
(Core :: Graphics: Canvas2D, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox122 | --- | fixed |
People
(Reporter: aosmond, Assigned: aosmond)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
We should write new tests similar to glvideo/canvas2dvideo but:
- Use WebCodecs VideoFrame as an input instead of HTMLVideoElement
- Run on the DOM worker threads
Assignee | ||
Comment 1•2 years ago
|
||
This patch adds new variants of the glvideo/canvas2dvideo talos tests,
but this time focused on OffscreenCanvas and WebCodecs.
There are test variants for each:
- Execution thread (main thread or DOM worker)
- Canvas type (WebGL or 2D canvas)
- Codec type (H264, VP9 or AV1)
They are included as part of the existing webgl talos job.
Assignee | ||
Comment 2•2 years ago
|
||
This is very similar, and shares code with, to https://w3c.github.io/webcodecs/samples/video-decode-display/.
Next on my agenda is improving the performance of these benchmarks, especially H264 + 2D canvas + Windows. Preliminary results show that it is abysmal compared to VP9 and AV1, because counter intuitively, we are slower on the accelerated path. This is due to readbacks we could easily avoid. I think we can also improve the performance of VP9 and AV1 by avoiding copies.
Comment 4•2 years ago
|
||
bugherder |
Assignee | ||
Updated•2 years ago
|
Description
•