| OLD | NEW |
| 1 function generateTest(pixelFormat, pixelType, prologue) { | 1 function generateTest(pixelFormat, pixelType, prologue) { |
| 2 var wtu = WebGLTestUtils; | 2 var wtu = WebGLTestUtils; |
| 3 var gl = null; | 3 var gl = null; |
| 4 var textureLoc = null; | 4 var textureLoc = null; |
| 5 var successfullyParsed = false; | 5 var successfullyParsed = false; |
| 6 | 6 |
| 7 var init = function() | 7 var init = function() |
| 8 { | 8 { |
| 9 if (window.initNonKhronosFramework) { | 9 if (window.initNonKhronosFramework) { |
| 10 window.initNonKhronosFramework(true); | 10 window.initNonKhronosFramework(true); |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 runOneIteration(image, false, false, green, red); | 84 runOneIteration(image, false, false, green, red); |
| 85 runOneIteration(image, true, true, red, green); | 85 runOneIteration(image, true, true, red, green); |
| 86 runOneIteration(image, true, false, green, red); | 86 runOneIteration(image, true, false, green, red); |
| 87 | 87 |
| 88 glErrorShouldBe(gl, gl.NO_ERROR, "should be no errors"); | 88 glErrorShouldBe(gl, gl.NO_ERROR, "should be no errors"); |
| 89 finishTest(); | 89 finishTest(); |
| 90 } | 90 } |
| 91 | 91 |
| 92 return init; | 92 return init; |
| 93 } | 93 } |
| OLD | NEW |