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

Unified Diff: gpu/command_buffer/tests/compressed_texture_test.cc

Issue 2602563002: Refactor DrawTextureQuad and CheckPixels in gl_tests util (Closed)
Patch Set: rebase only Created 3 years, 12 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gpu/command_buffer/tests/gl_apply_screen_space_antialiasing_CHROMIUM_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/tests/compressed_texture_test.cc
diff --git a/gpu/command_buffer/tests/compressed_texture_test.cc b/gpu/command_buffer/tests/compressed_texture_test.cc
index 03a31d2df86845b007bb9a1bfea609848b08a822..80bf37fbe2e913a3a4fa7f147adecbd70c15ba5b 100644
--- a/gpu/command_buffer/tests/compressed_texture_test.cc
+++ b/gpu/command_buffer/tests/compressed_texture_test.cc
@@ -233,9 +233,9 @@ TEST_P(CompressedTextureTest, Draw) {
for (unsigned i = 0; i < kPaletteSize; ++i) {
origin[0] = kBlockSize * i;
ToRGB888(kPalette[i], expected_rgba);
- EXPECT_TRUE(GLTestHelper::CheckPixels(origin[0], origin[1],
- kBlockSize, kBlockSize,
- 0, expected_rgba));
+ EXPECT_TRUE(GLTestHelper::CheckPixels(origin[0], origin[1], kBlockSize,
+ kBlockSize, 0, expected_rgba,
+ nullptr));
}
GLTestHelper::CheckGLError("CompressedTextureTest.Draw", __LINE__);
}
« no previous file with comments | « no previous file | gpu/command_buffer/tests/gl_apply_screen_space_antialiasing_CHROMIUM_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698