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 Canvas Conformance Tests</title> | 5 <title>WebGL Canvas Conformance Tests</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 <div id="description"></div> | 11 <div id="description"></div> |
12 <div id="console"></div> | 12 <div id="console"></div> |
13 <script id="vshaderGrid" type="x-shader/x-vertex"> | 13 <script id="vshaderGrid" type="x-shader/x-vertex"> |
14 attribute vec4 a_position; | 14 attribute vec4 a_position; |
15 void main() | 15 void main() |
16 { | 16 { |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 // Make a canvas slightly larger than the max size WebGL can handle. | 210 // Make a canvas slightly larger than the max size WebGL can handle. |
211 // From section 2.2 of the spec the WebGL implementation should allow this to wo
rk. | 211 // From section 2.2 of the spec the WebGL implementation should allow this to wo
rk. |
212 | 212 |
213 // test a size larger than MAX_VIEWPORT_DIMS in both dimensions | 213 // test a size larger than MAX_VIEWPORT_DIMS in both dimensions |
214 test(maxSize[0] + 32, 8); | 214 test(maxSize[0] + 32, 8); |
215 | 215 |
216 debug("") | 216 debug("") |
217 </script> | 217 </script> |
218 </body> | 218 </body> |
219 </html> | 219 </html> |
OLD | NEW |