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 bfc42bd2cc58279e4a9938450efc4ee5c24747e5..2e17662d7d2abaae8ba2303acdf1be702d143804 100644 |
--- a/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h |
+++ b/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h |
@@ -3047,4 +3047,15 @@ TEST_F(GLES2ImplementationTest, CoverageModulationCHROMIUM) { |
gl_->CoverageModulationCHROMIUM(GL_RGB); |
EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); |
} |
+ |
+TEST_F(GLES2ImplementationTest, SetDrawRectangleCHROMIUM) { |
+ struct Cmds { |
+ cmds::SetDrawRectangleCHROMIUM cmd; |
+ }; |
+ Cmds expected; |
+ expected.cmd.Init(1, 2, 3, 4); |
+ |
+ gl_->SetDrawRectangleCHROMIUM(1, 2, 3, 4); |
+ EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); |
+} |
#endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_UNITTEST_AUTOGEN_H_ |