Index: gpu/command_buffer/service/gles2_cmd_decoder_unittest_1.cc |
=================================================================== |
--- gpu/command_buffer/service/gles2_cmd_decoder_unittest_1.cc (revision 68245) |
+++ gpu/command_buffer/service/gles2_cmd_decoder_unittest_1.cc (working copy) |
@@ -119,6 +119,17 @@ |
info->set_log_info("hello"); |
}; |
+template <> |
+void GLES2DecoderTestBase::SpecializedSetup<GetVertexAttribfv, 0>(bool valid) { |
+ DoBindBuffer(GL_ARRAY_BUFFER, client_buffer_id_, kServiceBufferId); |
+ DoVertexAttribPointer(1, 1, GL_FLOAT, 0, 0); |
+ if (valid) { |
+ EXPECT_CALL(*gl_, GetError()) |
+ .WillOnce(Return(GL_NO_ERROR)) |
+ .WillOnce(Return(GL_NO_ERROR)) |
+ .RetiresOnSaturation(); |
+ } |
+}; |
#include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h" |