Index: gpu/command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h |
index 7a58038e1910b71c1e15909f59d50e9e9af2c406..1add36971dfe6f1c87d56764899be21dde7372dc 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h |
@@ -12,6 +12,20 @@ |
#ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_3_AUTOGEN_H_ |
#define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_3_AUTOGEN_H_ |
+TEST_P(GLES2DecoderTest3, VertexAttrib2fvImmediateValidArgs) { |
+ cmds::VertexAttrib2fvImmediate& cmd = |
+ *GetImmediateAs<cmds::VertexAttrib2fvImmediate>(); |
+ SpecializedSetup<cmds::VertexAttrib2fvImmediate, 0>(true); |
+ GLfloat temp[2] = { |
+ 0, |
+ }; |
+ cmd.Init(1, &temp[0]); |
+ EXPECT_CALL(*gl_, VertexAttrib2fv(1, reinterpret_cast<GLfloat*>( |
+ ImmediateDataAddress(&cmd)))); |
+ EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp))); |
+ EXPECT_EQ(GL_NO_ERROR, GetGLError()); |
+} |
+ |
TEST_P(GLES2DecoderTest3, VertexAttrib3fValidArgs) { |
EXPECT_CALL(*gl_, VertexAttrib3f(1, 2, 3, 4)); |
SpecializedSetup<cmds::VertexAttrib3f, 0>(true); |
@@ -145,6 +159,8 @@ TEST_P(GLES2DecoderTest3, ViewportInvalidArgs3_0) { |
EXPECT_EQ(error::kNoError, ExecuteCmd(cmd)); |
EXPECT_EQ(GL_INVALID_VALUE, GetGLError()); |
} |
+// TODO(gman): WaitSync |
+ |
// TODO(gman): TexStorage2DEXT |
// TODO(gman): GenQueriesEXTImmediate |
// TODO(gman): DeleteQueriesEXTImmediate |