| 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 939ea4e97ea48ff60ea3b37d5b6bcbfa588cc959..79551ae2537ef0fad098146894274920cd0c96ca 100644
|
| --- a/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h
|
| +++ b/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h
|
| @@ -4790,24 +4790,28 @@ TEST_F(GLES2FormatTest, ScheduleOverlayPlaneCHROMIUM) {
|
| *GetBufferAs<cmds::ScheduleOverlayPlaneCHROMIUM>();
|
| void* next_cmd = cmd.Set(&cmd, static_cast<GLint>(11),
|
| static_cast<GLenum>(12), static_cast<GLuint>(13),
|
| - static_cast<GLint>(14), static_cast<GLint>(15),
|
| + static_cast<GLuint>(14), static_cast<GLint>(15),
|
| static_cast<GLint>(16), static_cast<GLint>(17),
|
| - static_cast<GLfloat>(18), static_cast<GLfloat>(19),
|
| - static_cast<GLfloat>(20), static_cast<GLfloat>(21));
|
| + static_cast<GLint>(18), static_cast<GLfloat>(19),
|
| + static_cast<GLfloat>(20), static_cast<GLfloat>(21),
|
| + static_cast<GLfloat>(22),
|
| + static_cast<GLboolean>(23));
|
| EXPECT_EQ(static_cast<uint32_t>(cmds::ScheduleOverlayPlaneCHROMIUM::kCmdId),
|
| cmd.header.command);
|
| EXPECT_EQ(sizeof(cmd), cmd.header.size * 4u);
|
| EXPECT_EQ(static_cast<GLint>(11), cmd.plane_z_order);
|
| EXPECT_EQ(static_cast<GLenum>(12), cmd.plane_transform);
|
| - EXPECT_EQ(static_cast<GLuint>(13), cmd.overlay_texture_id);
|
| - EXPECT_EQ(static_cast<GLint>(14), cmd.bounds_x);
|
| - EXPECT_EQ(static_cast<GLint>(15), cmd.bounds_y);
|
| - EXPECT_EQ(static_cast<GLint>(16), cmd.bounds_width);
|
| - EXPECT_EQ(static_cast<GLint>(17), cmd.bounds_height);
|
| - EXPECT_EQ(static_cast<GLfloat>(18), cmd.uv_x);
|
| - EXPECT_EQ(static_cast<GLfloat>(19), cmd.uv_y);
|
| - EXPECT_EQ(static_cast<GLfloat>(20), cmd.uv_width);
|
| - EXPECT_EQ(static_cast<GLfloat>(21), cmd.uv_height);
|
| + EXPECT_EQ(static_cast<GLuint>(13), cmd.storage_format);
|
| + EXPECT_EQ(static_cast<GLuint>(14), cmd.overlay_texture_id);
|
| + EXPECT_EQ(static_cast<GLint>(15), cmd.bounds_x);
|
| + EXPECT_EQ(static_cast<GLint>(16), cmd.bounds_y);
|
| + EXPECT_EQ(static_cast<GLint>(17), cmd.bounds_width);
|
| + EXPECT_EQ(static_cast<GLint>(18), cmd.bounds_height);
|
| + EXPECT_EQ(static_cast<GLfloat>(19), cmd.uv_x);
|
| + EXPECT_EQ(static_cast<GLfloat>(20), cmd.uv_y);
|
| + EXPECT_EQ(static_cast<GLfloat>(21), cmd.uv_width);
|
| + EXPECT_EQ(static_cast<GLfloat>(22), cmd.uv_height);
|
| + EXPECT_EQ(static_cast<GLboolean>(23), cmd.handle_scaling);
|
| CheckBytesWrittenMatchesExpectedSize(next_cmd, sizeof(cmd));
|
| }
|
|
|
|
|