| Index: gpu/command_buffer/common/gles2_cmd_format_test_autogen.h
|
| diff --git a/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h b/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h
|
| index d546044736bcfe166bb0518504626d7b1880e5c1..628eb6f4bc4217e5b4bc14738ec36c6a765d1214 100644
|
| --- a/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h
|
| +++ b/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h
|
| @@ -3533,5 +3533,18 @@ TEST_F(GLES2FormatTest, Placeholder453CHROMIUM) {
|
| next_cmd, sizeof(cmd));
|
| }
|
|
|
| +TEST_F(GLES2FormatTest, SetSurfaceVisibleCHROMIUM) {
|
| + SetSurfaceVisibleCHROMIUM& cmd = *GetBufferAs<SetSurfaceVisibleCHROMIUM>();
|
| + void* next_cmd = cmd.Set(
|
| + &cmd,
|
| + static_cast<GLboolean>(11));
|
| + EXPECT_EQ(static_cast<uint32>(SetSurfaceVisibleCHROMIUM::kCmdId),
|
| + cmd.header.command);
|
| + EXPECT_EQ(sizeof(cmd), cmd.header.size * 4u);
|
| + EXPECT_EQ(static_cast<GLboolean>(11), cmd.visible);
|
| + CheckBytesWrittenMatchesExpectedSize(
|
| + next_cmd, sizeof(cmd));
|
| +}
|
| +
|
| #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_FORMAT_TEST_AUTOGEN_H_
|
|
|
|
|