Test WebGL draw video to canvas software path on iOS
https://bugs.webkit.org/show_bug.cgi?id=216915
Summary Test WebGL draw video to canvas software path on iOS
Kimmo Kinnunen
Reported 2020-09-23 23:40:41 PDT
Test WebGL draw video to canvas software path on iOS In bug 215908 we had a regression where webgl texImage2D with video did not produce output. The problem was that GPU YUV->RGB codepath had a bug. However, the software conversion codepath should have taken effect, but in fact just produced transparent texture. Interestingly normal "MP4" file worked, where as a HLS stream did not. It's unsure if this is a factor. The problem should have been caught with simulator testing and/or real hardware testing.
Attachments
Radar WebKit Bug Importer
Comment 1 2020-09-30 23:41:17 PDT
Kimmo Kinnunen
Comment 2 2020-11-16 00:36:50 PST
In bug 218637 we had a regression where texImage2D with video did not produce output. The problem was that the video decoder produced a frame in a format that was unexpected by yuv->rgb conversion codepath. However, the software conversion codepath should have taken effect, but in fact just produced transparent texture.
Kenneth Russell
Comment 3 2020-11-17 11:31:03 PST
On Bug 218971 I just suggested to see also Bug 205734. A couple of the existing layout tests seem to have videos that (maybe accidentally) go down the software decoding path at least on macOS. It would be great to add some internal method to the WebKitTestRunner to force the software decoded path for testing purposes.
Note You need to log in before you can comment on or make changes to this bug.