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

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

Issue 6995114: Resubmit http://codereview.chromium.org/7046057 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 6 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 | « gpu/command_buffer/common/gles2_cmd_utils.cc ('k') | gpu/gpu.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/common/gles2_cmd_utils_unittest.cc
===================================================================
--- gpu/command_buffer/common/gles2_cmd_utils_unittest.cc (revision 88544)
+++ gpu/command_buffer/common/gles2_cmd_utils_unittest.cc (working copy)
@@ -24,8 +24,8 @@
};
TEST_F(GLES2UtilTest, ComputeImageDataSizeFormats) {
- const int kWidth = 16;
- const int kHeight = 12;
+ const uint32 kWidth = 16;
+ const uint32 kHeight = 12;
uint32 size;
EXPECT_TRUE(GLES2Util::ComputeImageDataSize(
kWidth, kHeight, GL_RGB, GL_UNSIGNED_BYTE, 1, &size));
@@ -55,8 +55,8 @@
}
TEST_F(GLES2UtilTest, ComputeImageDataSizeTypes) {
- const int kWidth = 16;
- const int kHeight = 12;
+ const uint32 kWidth = 16;
+ const uint32 kHeight = 12;
uint32 size;
EXPECT_TRUE(GLES2Util::ComputeImageDataSize(
kWidth, kHeight, GL_RGBA, GL_UNSIGNED_BYTE, 1, &size));
@@ -73,8 +73,8 @@
}
TEST_F(GLES2UtilTest, ComputeImageDataSizeUnpackAlignment) {
- const int kWidth = 19;
- const int kHeight = 12;
+ const uint32 kWidth = 19;
+ const uint32 kHeight = 12;
uint32 size;
EXPECT_TRUE(GLES2Util::ComputeImageDataSize(
kWidth, kHeight, GL_RGB, GL_UNSIGNED_BYTE, 1, &size));
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_utils.cc ('k') | gpu/gpu.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698