| Index: gpu/command_buffer/client/gles2_implementation_unittest_autogen.h
|
| diff --git a/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h b/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h
|
| index 9b43afebdaa800eeb4006ab41df1bf3c42a9c4ba..2d8480a69bce3c9187b7685b3e64a6b59cd959ed 100644
|
| --- a/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h
|
| +++ b/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h
|
| @@ -2749,9 +2749,20 @@ TEST_F(GLES2ImplementationTest, CopyTextureCHROMIUM) {
|
| cmds::CopyTextureCHROMIUM cmd;
|
| };
|
| Cmds expected;
|
| - expected.cmd.Init(1, 2, 3, 4, GL_ALPHA, GL_UNSIGNED_BYTE);
|
| + expected.cmd.Init(1, 2, 3, GL_ALPHA, GL_UNSIGNED_BYTE);
|
|
|
| - gl_->CopyTextureCHROMIUM(1, 2, 3, 4, GL_ALPHA, GL_UNSIGNED_BYTE);
|
| + gl_->CopyTextureCHROMIUM(1, 2, 3, GL_ALPHA, GL_UNSIGNED_BYTE);
|
| + EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
|
| +}
|
| +
|
| +TEST_F(GLES2ImplementationTest, CopySubTextureCHROMIUM) {
|
| + struct Cmds {
|
| + cmds::CopySubTextureCHROMIUM cmd;
|
| + };
|
| + Cmds expected;
|
| + expected.cmd.Init(1, 2, 3, 4, 5);
|
| +
|
| + gl_->CopySubTextureCHROMIUM(1, 2, 3, 4, 5);
|
| EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
|
| }
|
|
|
|
|