OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
5 <title>WebGL texImage2D from WebGL conformance test.</title> | 5 <title>WebGL texImage2D from WebGL conformance test.</title> |
6 <script src="../../js/resources/js-test-pre.js"></script> | 6 <script src="../../../resources/js-test.js"></script> |
7 <script src="resources/webgl-test.js"> </script> | 7 <script src="resources/webgl-test.js"> </script> |
8 <script src="resources/webgl-test-utils.js"> </script> | 8 <script src="resources/webgl-test-utils.js"> </script> |
9 </head> | 9 </head> |
10 <body> | 10 <body> |
11 <canvas id="example" width="256" height="16" style="width: 256px; height: 48px;"
></canvas> | 11 <canvas id="example" width="256" height="16" style="width: 256px; height: 48px;"
></canvas> |
12 <canvas id="source" width="256" height="16" style="width: 256px; height: 48px;">
</canvas> | 12 <canvas id="source" width="256" height="16" style="width: 256px; height: 48px;">
</canvas> |
13 <div id="description"></div> | 13 <div id="description"></div> |
14 <div id="console"></div> | 14 <div id="console"></div> |
15 <script> | 15 <script> |
16 description("Test texImage2D from a webgl canvas."); | 16 description("Test texImage2D from a webgl canvas."); |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 wtu.drawQuad(gl); | 48 wtu.drawQuad(gl); |
49 | 49 |
50 wtu.checkCanvas(gl, [0, 255, 0, 255], "Canvas should be green"); | 50 wtu.checkCanvas(gl, [0, 255, 0, 255], "Canvas should be green"); |
51 | 51 |
52 debug(""); | 52 debug(""); |
53 successfullyParsed = true; | 53 successfullyParsed = true; |
54 </script> | 54 </script> |
55 </body> | 55 </body> |
56 </html> | 56 </html> |
57 | 57 |
OLD | NEW |