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 ReadPixels conformance test.</title> | 5 <title>WebGL ReadPixels 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="200" height="200" style="width: 20px; height: 20px">
</canvas> | 11 <canvas id="example" width="200" height="200" style="width: 20px; height: 20px">
</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("Checks that ReadPixels works as expected."); | 15 description("Checks that ReadPixels works as expected."); |
16 | 16 |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 } | 212 } |
213 glErrorShouldBe(gl, gl.NO_ERROR, "there should be no GL errors"); | 213 glErrorShouldBe(gl, gl.NO_ERROR, "there should be no GL errors"); |
214 | 214 |
215 debug(""); | 215 debug(""); |
216 finishTest(); | 216 finishTest(); |
217 } | 217 } |
218 </script> | 218 </script> |
219 </body> | 219 </body> |
220 </html> | 220 </html> |
221 | 221 |
OLD | NEW |