| 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 495bbca8c4ad2e532aeaec744fae41a53a68a169..8507032b7e0adb84419fd9d225eb445fd32e7c67 100644
|
| --- a/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h
|
| +++ b/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h
|
| @@ -2837,6 +2837,24 @@ TEST_F(GLES2ImplementationTest, DiscardBackbufferCHROMIUM) {
|
| EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
|
| }
|
|
|
| +TEST_F(GLES2ImplementationTest, ScheduleCALayerInUseQueryCHROMIUM) {
|
| + GLuint data[1][1] = {{0}};
|
| + struct Cmds {
|
| + cmds::ScheduleCALayerInUseQueryCHROMIUMImmediate cmd;
|
| + GLuint data[1][1];
|
| + };
|
| +
|
| + Cmds expected;
|
| + for (int ii = 0; ii < 1; ++ii) {
|
| + for (int jj = 0; jj < 1; ++jj) {
|
| + data[ii][jj] = static_cast<GLuint>(ii * 1 + jj);
|
| + }
|
| + }
|
| + expected.cmd.Init(1, &data[0][0]);
|
| + gl_->ScheduleCALayerInUseQueryCHROMIUM(1, &data[0][0]);
|
| + EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
|
| +}
|
| +
|
| TEST_F(GLES2ImplementationTest, FlushDriverCachesCHROMIUM) {
|
| struct Cmds {
|
| cmds::FlushDriverCachesCHROMIUM cmd;
|
|
|