Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Side by Side Diff: LayoutTests/fast/canvas/webgl/tex-image-and-sub-image-2d-with-image-data-expected.txt

Issue 10441002: Merge 117918 - Must set/reset pixel unpack alignment to 1 during texSubImage2D (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1132/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 1
2 Verify texImage2D and texSubImage2D code paths taking ImageData 2 Verify texImage2D and texSubImage2D code paths taking ImageData (RGBA/UNSIGNED_B YTE)
3 3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5 5
6 Testing texImage2D with flipY=true and premultiplyAlpha=false 6 Testing texImage2D with flipY=true and premultiplyAlpha=false
7 Checking bottom pixel 7 Checking bottom pixel
8 PASS shouldBe 0,255,0,255 8 PASS shouldBe 0,255,0,255
9 Checking top pixel 9 Checking top pixel
10 PASS shouldBe 255,0,0,255 10 PASS shouldBe 255,0,0,255
11 Testing texImage2D with flipY=false and premultiplyAlpha=false 11 Testing texImage2D with flipY=false and premultiplyAlpha=false
12 Checking bottom pixel 12 Checking bottom pixel
(...skipping 23 matching lines...) Expand all
36 Testing texSubImage2D with flipY=true and premultiplyAlpha=true 36 Testing texSubImage2D with flipY=true and premultiplyAlpha=true
37 Checking bottom pixel 37 Checking bottom pixel
38 PASS shouldBe 0,0,0,255 38 PASS shouldBe 0,0,0,255
39 Checking top pixel 39 Checking top pixel
40 PASS shouldBe 255,0,0,255 40 PASS shouldBe 255,0,0,255
41 Testing texSubImage2D with flipY=false and premultiplyAlpha=true 41 Testing texSubImage2D with flipY=false and premultiplyAlpha=true
42 Checking bottom pixel 42 Checking bottom pixel
43 PASS shouldBe 255,0,0,255 43 PASS shouldBe 255,0,0,255
44 Checking top pixel 44 Checking top pixel
45 PASS shouldBe 0,0,0,255 45 PASS shouldBe 0,0,0,255
46 PASS getError was expected value: NO_ERROR : should be no errors
46 PASS successfullyParsed is true 47 PASS successfullyParsed is true
47 48
48 TEST COMPLETE 49 TEST COMPLETE
49 50
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698