OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
2 "http://www.w3.org/TR/html4/loose.dtd"> | 2 "http://www.w3.org/TR/html4/loose.dtd"> |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <title>WebGL texImage2D conformance test.</title> | 5 <title>WebGL texImage2D 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 <div id="description"></div> | 12 <div id="description"></div> |
13 <div id="console"></div> | 13 <div id="console"></div> |
14 <script> | 14 <script> |
15 description("Test texImage2D conversions."); | 15 description("Test texImage2D conversions."); |
16 var wtu = WebGLTestUtils; | 16 var wtu = WebGLTestUtils; |
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 // The image should be red. | 397 // The image should be red. |
398 checkPixelRange(buf, middle, center, [ 255, 0, 0, 255 ], 10); | 398 checkPixelRange(buf, middle, center, [ 255, 0, 0, 255 ], 10); |
399 | 399 |
400 debug(""); | 400 debug(""); |
401 isSuccessfullyParsed(); | 401 isSuccessfullyParsed(); |
402 } | 402 } |
403 | 403 |
404 </script> | 404 </script> |
405 </body> | 405 </body> |
406 </html> | 406 </html> |
OLD | NEW |