Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 8 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /webcodecs/videoFrame-orientation-webgl.window.html - WPT Dashboard Interop Dashboard
// META: script=/webcodecs/videoFrame-orientation-utils.js
runOrientationTests('texImage2D()', (frame, orientation, description) => {
const {width, height} = orientedSize(orientation);
verifyOrientedPixels(readTexturePixels(frame, width, height), orientation, description);
});