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

Side by Side Diff: LayoutTests/fast/canvas/webgl/resources/tex-image-and-sub-image-2d-with-canvas.js

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
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/webgl/resources/tex-image-and-sub-image-2d-with-image.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/webgl/resources/tex-image-and-sub-image-2d-with-image.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698