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

Side by Side Diff: LayoutTests/fast/canvas/webgl/tex-image-and-sub-image-2d-with-image-data-rgba4444-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 (RGBA/UNSIGNED_S HORT_4_4_4_4) 2 Verify texImage2D and texSubImage2D code paths taking ImageData (RGBA/UNSIGNED_S HORT_4_4_4_4)
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
(...skipping 30 matching lines...) Expand all
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 getError was expected value: NO_ERROR : should be no errors
47 PASS successfullyParsed is true 47 PASS successfullyParsed is true
48 48
49 TEST COMPLETE 49 TEST COMPLETE
50 50
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698