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 8e977e7dbc5ee923e434e73a03f51a70612037e9..e5ac044603d1e393361e124b4634520c7835d489 100644 |
--- a/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h |
+++ b/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h |
@@ -1697,5 +1697,16 @@ TEST_F(GLES2ImplementationTest, ConsumeTextureCHROMIUM) { |
EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); |
} |
// TODO: Implement unit test for BindUniformLocationCHROMIUM |
+ |
+TEST_F(GLES2ImplementationTest, TexImagePixmap2DCHROMIUM) { |
+ struct Cmds { |
+ TexImagePixmap2DCHROMIUM cmd; |
+ }; |
+ Cmds expected; |
+ expected.cmd.Init(GL_TEXTURE_2D, 2); |
+ |
+ gl_->TexImagePixmap2DCHROMIUM(GL_TEXTURE_2D, 2); |
+ EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); |
+} |
#endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_UNITTEST_AUTOGEN_H_ |