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 Non-Power of 2 texture conformance test.</title> | 5 <title>WebGL Non-Power of 2 texture conformance test.</title> |
6 <script src="../../js/resources/js-test-pre.js"></script> | 6 <script src="../../js/resources/js-test-pre.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> |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 gl.TEXTURE_CUBE_MAP_POSITIVE_Z, | 212 gl.TEXTURE_CUBE_MAP_POSITIVE_Z, |
213 gl.TEXTURE_CUBE_MAP_NEGATIVE_Z]; | 213 gl.TEXTURE_CUBE_MAP_NEGATIVE_Z]; |
214 for (var tt = 0; tt < targets.length; ++tt) { | 214 for (var tt = 0; tt < targets.length; ++tt) { |
215 gl.texImage2D( | 215 gl.texImage2D( |
216 targets[tt], opt_level, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, canvas); | 216 targets[tt], opt_level, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, canvas); |
217 } | 217 } |
218 }; | 218 }; |
219 | 219 |
220 </script> | 220 </script> |
221 </body> | 221 </body> |
222 <script src="../../js/resources/js-test-post.js"></script> | |
223 | 222 |
224 <script> | 223 <script> |
225 </script> | 224 </script> |
226 | 225 |
227 </body> | 226 </body> |
228 </html> | 227 </html> |
229 | 228 |
OLD | NEW |