| OLD | NEW |
| (Empty) |
| 1 | |
| 2 Verify texImage2D and texSubImage2D code paths taking ImageData (RGBA/UNSIGNED_B
YTE) | |
| 3 | |
| 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 5 | |
| 6 PASS successfullyParsed is true | |
| 7 | |
| 8 TEST COMPLETE | |
| 9 Testing texImage2D with flipY=true and premultiplyAlpha=false | |
| 10 Checking bottom pixel | |
| 11 PASS shouldBe 0,255,0,255 | |
| 12 Checking top pixel | |
| 13 PASS shouldBe 255,0,0,255 | |
| 14 Testing texImage2D with flipY=false and premultiplyAlpha=false | |
| 15 Checking bottom pixel | |
| 16 PASS shouldBe 255,0,0,255 | |
| 17 Checking top pixel | |
| 18 PASS shouldBe 0,255,0,255 | |
| 19 Testing texImage2D with flipY=true and premultiplyAlpha=true | |
| 20 Checking bottom pixel | |
| 21 PASS shouldBe 0,0,0,255 | |
| 22 Checking top pixel | |
| 23 PASS shouldBe 255,0,0,255 | |
| 24 Testing texImage2D with flipY=false and premultiplyAlpha=true | |
| 25 Checking bottom pixel | |
| 26 PASS shouldBe 255,0,0,255 | |
| 27 Checking top pixel | |
| 28 PASS shouldBe 0,0,0,255 | |
| 29 Testing texSubImage2D with flipY=true and premultiplyAlpha=false | |
| 30 Checking bottom pixel | |
| 31 PASS shouldBe 0,255,0,255 | |
| 32 Checking top pixel | |
| 33 PASS shouldBe 255,0,0,255 | |
| 34 Testing texSubImage2D with flipY=false and premultiplyAlpha=false | |
| 35 Checking bottom pixel | |
| 36 PASS shouldBe 255,0,0,255 | |
| 37 Checking top pixel | |
| 38 PASS shouldBe 0,255,0,255 | |
| 39 Testing texSubImage2D with flipY=true and premultiplyAlpha=true | |
| 40 Checking bottom pixel | |
| 41 PASS shouldBe 0,0,0,255 | |
| 42 Checking top pixel | |
| 43 PASS shouldBe 255,0,0,255 | |
| 44 Testing texSubImage2D with flipY=false and premultiplyAlpha=true | |
| 45 Checking bottom pixel | |
| 46 PASS shouldBe 255,0,0,255 | |
| 47 Checking top pixel | |
| 48 PASS shouldBe 0,0,0,255 | |
| 49 PASS getError was expected value: NO_ERROR : should be no errors | |
| 50 PASS successfullyParsed is true | |
| 51 | |
| 52 TEST COMPLETE | |
| 53 | |
| OLD | NEW |