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 6a1c15d98b7e1787292737d648fe6f3e8bf8604d..c5b292ab2536291c68dba51a446772a8fd8ce987 100644 |
--- a/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h |
+++ b/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h |
@@ -1696,5 +1696,16 @@ TEST_F(GLES2ImplementationTest, ConsumeTextureCHROMIUM) { |
gl_->ConsumeTextureCHROMIUM(GL_TEXTURE_2D, &expected.data[0]); |
EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); |
} |
+ |
+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_ |