Bug 223294

Summary: [GPUP] WebGL2RenderingContext::texImage2D() does not work with a video as the image source
Product: WebKit Reporter: Peng Liu <peng.liu6>
Component: MediaAssignee: Peng Liu <peng.liu6>
Status: RESOLVED FIXED    
Severity: Normal CC: eric.carlson, ews-watchlist, glenn, jer.noble, jonlee, kkinnunen, philipj, sergio, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=221686
Attachments:
Description Flags
Patch none

Description Peng Liu 2021-03-16 18:25:47 PDT
platform/mac/media/media-source/videoplaybackquality-decompressionsession.html fails because of this issue.
Comment 1 Radar WebKit Bug Importer 2021-03-16 18:29:05 PDT
<rdar://problem/75505136>
Comment 2 Kimmo Kinnunen 2021-03-17 07:29:48 PDT
What do you mean? I think we implemented it.
So this crashes on normal runs because the media stack does not implement non-gpup webgl.

This fails in media+webgl in gpup because "WebGL: INVALID_VALUE: texImage2D: no video". This is possibly because the test tries to get the video before the video is available? You cannot upload the video to the texture before you have loaded the video, played it and observed time update?
Comment 3 Peng Liu 2021-03-17 17:39:05 PDT
Created attachment 423544 [details]
Patch
Comment 4 EWS 2021-03-17 22:20:24 PDT
Committed r274614: <https://commits.webkit.org/r274614>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 423544 [details].