| 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 a42d6d5d78ea8f936812adbe9a196cc35fd96cd7..454ce73b7c22074f1e1369592abadbf9751e2872 100644
|
| --- a/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h
|
| +++ b/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h
|
| @@ -1804,6 +1804,28 @@ TEST_F(GLES2ImplementationTest, VertexAttribDivisorANGLE) {
|
| // TODO: Implement unit test for GenMailboxCHROMIUM
|
| // TODO: Implement unit test for BindUniformLocationCHROMIUM
|
|
|
| +TEST_F(GLES2ImplementationTest, SubscribeUniformCHROMIUM) {
|
| + struct Cmds {
|
| + cmds::SubscribeUniformCHROMIUM cmd;
|
| + };
|
| + Cmds expected;
|
| + expected.cmd.Init(1, GL_MOUSE_POSITION_CHROMIUM);
|
| +
|
| + gl_->SubscribeUniformCHROMIUM(1, GL_MOUSE_POSITION_CHROMIUM);
|
| + EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
|
| +}
|
| +
|
| +TEST_F(GLES2ImplementationTest, UnsubscribeUniformCHROMIUM) {
|
| + struct Cmds {
|
| + cmds::UnsubscribeUniformCHROMIUM cmd;
|
| + };
|
| + Cmds expected;
|
| + expected.cmd.Init(1);
|
| +
|
| + gl_->UnsubscribeUniformCHROMIUM(1);
|
| + EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
|
| +}
|
| +
|
| TEST_F(GLES2ImplementationTest, BindTexImage2DCHROMIUM) {
|
| struct Cmds {
|
| cmds::BindTexImage2DCHROMIUM cmd;
|
|
|