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

Unified Diff: gpu/command_buffer/tests/gl_pointcoord_unittest.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
Index: gpu/command_buffer/tests/gl_pointcoord_unittest.cc
diff --git a/gpu/command_buffer/tests/gl_pointcoord_unittest.cc b/gpu/command_buffer/tests/gl_pointcoord_unittest.cc
index 1828aff965d6776d44398e84651b0261c7356a76..d0a0163facce933d8c4f50196f236fe5478c81f2 100644
--- a/gpu/command_buffer/tests/gl_pointcoord_unittest.cc
+++ b/gpu/command_buffer/tests/gl_pointcoord_unittest.cc
@@ -138,7 +138,7 @@ TEST_F(PointCoordTest, MAYBE_RenderTo) {
static_cast<uint8_t>(s * 255),
static_cast<uint8_t>((1 - t) * 255), 0, 255,
};
- GLTestHelper::CheckPixels(xf, yf, 1, 1, 4, color);
+ GLTestHelper::CheckPixels(xf, yf, 1, 1, 4, color, nullptr);
}
}
}
« no previous file with comments | « gpu/command_buffer/tests/gl_map_buffer_range_unittest.cc ('k') | gpu/command_buffer/tests/gl_program_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698