| 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 f69981ffc655ed9495087dc5ee86bf34749d5313..4656716ec7c5cc34a14a4a8b9d4612e5c959048d 100644
|
| --- a/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h
|
| +++ b/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h
|
| @@ -1655,5 +1655,27 @@ TEST_F(GLES2ImplementationTest, VertexAttribDivisorANGLE) {
|
| gl_->VertexAttribDivisorANGLE(1, 2);
|
| EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
|
| }
|
| +
|
| +TEST_F(GLES2ImplementationTest, DiscardBackbufferCHROMIUM) {
|
| + struct Cmds {
|
| + DiscardBackbufferCHROMIUM cmd;
|
| + };
|
| + Cmds expected;
|
| + expected.cmd.Init();
|
| +
|
| + gl_->DiscardBackbufferCHROMIUM();
|
| + EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
|
| +}
|
| +
|
| +TEST_F(GLES2ImplementationTest, EnsureBackbufferCHROMIUM) {
|
| + struct Cmds {
|
| + EnsureBackbufferCHROMIUM cmd;
|
| + };
|
| + Cmds expected;
|
| + expected.cmd.Init();
|
| +
|
| + gl_->EnsureBackbufferCHROMIUM();
|
| + EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
|
| +}
|
| #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_UNITTEST_AUTOGEN_H_
|
|
|
|
|