Closed Bug 1692641 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 27619 - Add WebGL tex(Sub)Image(2D|3D) support for WebCodecs VideoFrames.

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox88 fixed)

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 27619 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/27619
Details from upstream follow.

b'Dale Curtis <dalecurtis@chromium.org>' wrote:

Add WebGL tex(Sub)Image(2D|3D) support for WebCodecs VideoFrames.

This expands the same interfaces used for HTMLVideoElement with WebGL so
they work with the WebCodecs VideoFrame. This is pretty much an exact
clone of what we do for the video element, but condensed into one
function without the caching which happens in WebMediaPlayer's
longer-lived media::PaintCanvasVideoRenderer.

Bug: 1175907
Test: New WPT tests.
Change-Id: Id8604a35bd11e18e100360c2bdced1418598f1fa

Reviewed-on: https://chromium-review.googlesource.com/2692495
WPT-Export-Revision: 3cdfcf1acf7316784551944cdf2b8a357de6378b

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 2 tests and 4 subtests

Status Summary

Firefox

OK : 2
FAIL: 8

Chrome

OK : 2
FAIL: 8

Safari

OK : 2
FAIL: 8

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/webcodecs/videoFrame-texImage.any.html
drawImage(VideoFrame) with texImage2D (48x36) srgb.: FAIL (Chrome: FAIL, Safari: FAIL)
drawImage(VideoFrame) with texSubImage2D (48x36) srgb.: FAIL (Chrome: FAIL, Safari: FAIL)
drawImage(VideoFrame) with texImage2D (480x360) srgb.: FAIL (Chrome: FAIL, Safari: FAIL)
drawImage(VideoFrame) with texSubImage2D (480x360) srgb.: FAIL (Chrome: FAIL, Safari: FAIL)
/webcodecs/videoFrame-texImage.any.worker.html
drawImage(VideoFrame) with texImage2D (48x36) srgb.: FAIL (Chrome: FAIL, Safari: FAIL)
drawImage(VideoFrame) with texSubImage2D (48x36) srgb.: FAIL (Chrome: FAIL, Safari: FAIL)
drawImage(VideoFrame) with texImage2D (480x360) srgb.: FAIL (Chrome: FAIL, Safari: FAIL)
drawImage(VideoFrame) with texSubImage2D (480x360) srgb.: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ba2e50bf8a28 [wpt PR 27619] - Add WebGL tex(Sub)Image(2D|3D) support for WebCodecs VideoFrames., a=testonly https://hg.mozilla.org/integration/autoland/rev/e96f1b12d757 [wpt PR 27619] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/808de73f23e7 [wpt PR 27619] - Add WebGL tex(Sub)Image(2D|3D) support for WebCodecs VideoFrames., a=testonly https://hg.mozilla.org/integration/autoland/rev/6e7ad8f7d2cd [wpt PR 27619] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2c908701ae62 [wpt PR 27619] - Add WebGL tex(Sub)Image(2D|3D) support for WebCodecs VideoFrames., a=testonly https://hg.mozilla.org/integration/autoland/rev/023cc32ccc00 [wpt PR 27619] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.