| Index: gpu/command_buffer/service/test_helper.cc
|
| diff --git a/gpu/command_buffer/service/test_helper.cc b/gpu/command_buffer/service/test_helper.cc
|
| index 632d2af302bc697dcb778e3f91381ef8aeddfa11..c091b6a04b29e86b18a1ea0a06ea0834a67b5f22 100644
|
| --- a/gpu/command_buffer/service/test_helper.cc
|
| +++ b/gpu/command_buffer/service/test_helper.cc
|
| @@ -93,6 +93,9 @@ const GLint TestHelper::kMaxVertexOutputComponents;
|
| const GLint TestHelper::kMaxFragmentInputComponents;
|
| const GLint TestHelper::kMaxProgramTexelOffset;
|
| const GLint TestHelper::kMinProgramTexelOffset;
|
| +const GLint TestHelper::kMaxTransformFeedbackSeparateAttribs;
|
| +const GLint TestHelper::kMaxUniformBufferBindings;
|
| +const GLint TestHelper::kUniformBufferOffsetAlignment;
|
| #endif
|
|
|
| std::vector<std::string> TestHelper::split_extensions_;
|
| @@ -358,6 +361,18 @@ void TestHelper::SetupContextGroupInitExpectations(
|
| .RetiresOnSaturation();
|
| }
|
|
|
| + if (gl_info.IsES3Capable()) {
|
| + EXPECT_CALL(*gl, GetIntegerv(GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS, _))
|
| + .WillOnce(SetArgumentPointee<1>(kMaxTransformFeedbackSeparateAttribs))
|
| + .RetiresOnSaturation();
|
| + EXPECT_CALL(*gl, GetIntegerv(GL_MAX_UNIFORM_BUFFER_BINDINGS, _))
|
| + .WillOnce(SetArgumentPointee<1>(kMaxUniformBufferBindings))
|
| + .RetiresOnSaturation();
|
| + EXPECT_CALL(*gl, GetIntegerv(GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT, _))
|
| + .WillOnce(SetArgumentPointee<1>(kUniformBufferOffsetAlignment))
|
| + .RetiresOnSaturation();
|
| + }
|
| +
|
| EXPECT_CALL(*gl, GetIntegerv(GL_MAX_VERTEX_ATTRIBS, _))
|
| .WillOnce(SetArgumentPointee<1>(kNumVertexAttribs))
|
| .RetiresOnSaturation();
|
|
|