OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../../../resources/js-test.js"></script> | 3 <script src="../../../resources/js-test.js"></script> |
4 <script src="resources/webgl-test.js"></script> | 4 <script src="resources/webgl-test.js"></script> |
5 <script src="resources/webgl-test-utils.js"></script> | 5 <script src="resources/webgl-test-utils.js"></script> |
6 <script> | 6 <script> |
7 window.jsTestIsAsync = true; | |
8 | |
9 var wtu = WebGLTestUtils; | 7 var wtu = WebGLTestUtils; |
10 var gl = null; | 8 var gl = null; |
11 var textureLoc = null; | 9 var textureLoc = null; |
12 | 10 |
13 function init() | 11 function init() |
14 { | 12 { |
15 if (window.initNonKhronosFramework) { | 13 if (window.initNonKhronosFramework) { |
16 window.initNonKhronosFramework(true); | 14 window.initNonKhronosFramework(true); |
17 } | 15 } |
18 | 16 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 finishJSTest(); | 73 finishJSTest(); |
76 } | 74 } |
77 </script> | 75 </script> |
78 </head> | 76 </head> |
79 <body onload="init()"> | 77 <body onload="init()"> |
80 <canvas id="example" width="32px" height="32px"></canvas> | 78 <canvas id="example" width="32px" height="32px"></canvas> |
81 <div id="description"></div> | 79 <div id="description"></div> |
82 <div id="console"></div> | 80 <div id="console"></div> |
83 </body> | 81 </body> |
84 </html> | 82 </html> |
OLD | NEW |