| <!DOCTYPE html> |
| <html> |
| <head> |
| <meta charset="utf-8"> |
| <script src="../../../resources/js-test.js"></script> |
| <script src="resources/webgl-test.js"></script> |
| <script src="resources/webgl-test-utils.js"></script> |
| <script src="resources/tex-image-and-sub-image-2d-with-video.js"></script> |
| <script> |
| // As a workaround for https://bugs.webkit.org/show_bug.cgi?id=87448, this code needs to |
| // be run from an inline script in a main resource. |
| window.jsTestIsAsync = true; |
| if (window.testRunner) |
| testRunner.waitUntilDone(); |
| |
| function testPrologue(gl) { |
| return true; |
| } |
| </script> |
| </head> |
| <body onload='generateTest("RGBA", "UNSIGNED_SHORT_5_5_5_1", testPrologue)()'> |
| <canvas id="example" width="32px" height="32px"></canvas> |
| <div id="description"></div> |
| <div id="console"></div> |
| <video width="640" height="228" id="vid" controls> |
| <source src="resources/red-green.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' /> |
| <source src="resources/red-green.webmvp8.webm" type='video/webm; codecs="vp8, vorbis"' /> |
| <source src="resources/red-green.theora.ogv" type='video/ogg; codecs="theora, vorbis"' /> |
| </video> |
| </body> |
| </html> |