| 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 1bf9ced56751bb8538b040ac594daf2833535ab2..d7094ea1ee3c15e691ded2129dc3da1dfff3ac36 100644
|
| --- a/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h
|
| +++ b/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h
|
| @@ -4434,6 +4434,21 @@ TEST_F(GLES2FormatTest, BindTexImage2DCHROMIUM) {
|
| CheckBytesWrittenMatchesExpectedSize(next_cmd, sizeof(cmd));
|
| }
|
|
|
| +TEST_F(GLES2FormatTest, BindTexImage2DWithInternalformatCHROMIUM) {
|
| + cmds::BindTexImage2DWithInternalformatCHROMIUM& cmd =
|
| + *GetBufferAs<cmds::BindTexImage2DWithInternalformatCHROMIUM>();
|
| + void* next_cmd = cmd.Set(&cmd, static_cast<GLenum>(11),
|
| + static_cast<GLenum>(12), static_cast<GLint>(13));
|
| + EXPECT_EQ(static_cast<uint32_t>(
|
| + cmds::BindTexImage2DWithInternalformatCHROMIUM::kCmdId),
|
| + cmd.header.command);
|
| + EXPECT_EQ(sizeof(cmd), cmd.header.size * 4u);
|
| + EXPECT_EQ(static_cast<GLenum>(11), cmd.target);
|
| + EXPECT_EQ(static_cast<GLenum>(12), cmd.internalformat);
|
| + EXPECT_EQ(static_cast<GLint>(13), cmd.imageId);
|
| + CheckBytesWrittenMatchesExpectedSize(next_cmd, sizeof(cmd));
|
| +}
|
| +
|
| TEST_F(GLES2FormatTest, ReleaseTexImage2DCHROMIUM) {
|
| cmds::ReleaseTexImage2DCHROMIUM& cmd =
|
| *GetBufferAs<cmds::ReleaseTexImage2DCHROMIUM>();
|
|
|