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

Unified Diff: gpu/command_buffer/common/gles2_cmd_utils_unittest.cc

Issue 1028333002: Chromium -> Mojo roll. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 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/common/gles2_cmd_utils_unittest.cc
diff --git a/gpu/command_buffer/common/gles2_cmd_utils_unittest.cc b/gpu/command_buffer/common/gles2_cmd_utils_unittest.cc
index 58a6c383bc0f9344515f8ad3aa43c531cdebd81c..8f7f94f270db6908bb907740325eb9b8cd765ae8 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils_unittest.cc
+++ b/gpu/command_buffer/common/gles2_cmd_utils_unittest.cc
@@ -232,8 +232,8 @@ TEST_F(GLES2UtilTest, ComputeImageDataSizeTypes) {
EXPECT_TRUE(GLES2Util::ComputeImageDataSizes(
kWidth, kHeight, 1, GL_DEPTH_STENCIL, GL_FLOAT_32_UNSIGNED_INT_24_8_REV,
1, &size, &unpadded_row_size, &padded_row_size));
- EXPECT_EQ(kWidth * kHeight * 4, size);
- EXPECT_EQ(kWidth * 4, padded_row_size);
+ EXPECT_EQ(kWidth * kHeight * 8, size);
+ EXPECT_EQ(kWidth * 8, padded_row_size);
EXPECT_EQ(padded_row_size, unpadded_row_size);
}
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h ('k') | gpu/command_buffer/service/context_state_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698