Bug 223294 - [GPUP] WebGL2RenderingContext::texImage2D() does not work with a video as the image source
Summary: [GPUP] WebGL2RenderingContext::texImage2D() does not work with a video as the...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Peng Liu
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-03-16 18:25 PDT by Peng Liu
Modified: 2021-03-17 22:20 PDT (History)
9 users (show)

See Also:


Attachments
Patch (5.84 KB, patch)
2021-03-17 17:39 PDT, Peng Liu
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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].