| 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 c091b6a04b29e86b18a1ea0a06ea0834a67b5f22..7f265328a548353f939763f45f767a4b0dab0220 100644
|
| --- a/gpu/command_buffer/service/test_helper.cc
|
| +++ b/gpu/command_buffer/service/test_helper.cc
|
| @@ -79,6 +79,7 @@ const GLint TestHelper::kMaxTextureSize;
|
| const GLint TestHelper::kMaxCubeMapTextureSize;
|
| const GLint TestHelper::kMaxRectangleTextureSize;
|
| const GLint TestHelper::kMax3DTextureSize;
|
| +const GLint TestHelper::kMaxArrayTextureLayers;
|
| const GLint TestHelper::kNumVertexAttribs;
|
| const GLint TestHelper::kNumTextureUnits;
|
| const GLint TestHelper::kMaxTextureImageUnits;
|
| @@ -390,6 +391,11 @@ void TestHelper::SetupContextGroupInitExpectations(
|
| .WillOnce(SetArgumentPointee<1>(kMax3DTextureSize))
|
| .RetiresOnSaturation();
|
| }
|
| + if (gl_info.IsES3Capable()) {
|
| + EXPECT_CALL(*gl, GetIntegerv(GL_MAX_ARRAY_TEXTURE_LAYERS, _))
|
| + .WillOnce(SetArgumentPointee<1>(kMaxArrayTextureLayers))
|
| + .RetiresOnSaturation();
|
| + }
|
| if (strstr(extensions, "GL_ARB_texture_rectangle")) {
|
| EXPECT_CALL(*gl, GetIntegerv(GL_MAX_RECTANGLE_TEXTURE_SIZE, _))
|
| .WillOnce(SetArgumentPointee<1>(kMaxRectangleTextureSize))
|
|
|