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 6ca089754870ffa7bb2f346f1ced77da221c8cb1..fd17eb9515f119af0752206084fd076e5cc6ba13 100644 |
--- a/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h |
+++ b/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h |
@@ -4823,6 +4823,16 @@ TEST_F(GLES2FormatTest, ScheduleCALayerCHROMIUM) { |
CheckBytesWrittenMatchesExpectedSize(next_cmd, sizeof(cmd)); |
} |
+TEST_F(GLES2FormatTest, CommitOverlayPlanesCHROMIUM) { |
+ cmds::CommitOverlayPlanesCHROMIUM& cmd = |
+ *GetBufferAs<cmds::CommitOverlayPlanesCHROMIUM>(); |
+ void* next_cmd = cmd.Set(&cmd); |
+ EXPECT_EQ(static_cast<uint32_t>(cmds::CommitOverlayPlanesCHROMIUM::kCmdId), |
+ cmd.header.command); |
+ EXPECT_EQ(sizeof(cmd), cmd.header.size * 4u); |
+ CheckBytesWrittenMatchesExpectedSize(next_cmd, sizeof(cmd)); |
+} |
+ |
TEST_F(GLES2FormatTest, SwapInterval) { |
cmds::SwapInterval& cmd = *GetBufferAs<cmds::SwapInterval>(); |
void* next_cmd = cmd.Set(&cmd, static_cast<GLint>(11)); |