Chromium Code Reviews| Index: gpu/command_buffer/service/gles2_cmd_decoder_unittest_0_autogen.h |
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_0_autogen.h b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_0_autogen.h |
| index 3eb5acb7279fced3a929f0839a2cfe1da1e46b9a..f9fee2e7e69098f503ece6821ba11f0238367bef 100644 |
| --- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_0_autogen.h |
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_0_autogen.h |
| @@ -50,6 +50,11 @@ void GLES2DecoderTestBase::SetupInitStateExpectations() { |
| EXPECT_CALL(*gl_, Hint(GL_GENERATE_MIPMAP_HINT, GL_DONT_CARE)) |
| .Times(1) |
| .RetiresOnSaturation(); |
| + if (group_->feature_info()->feature_flags().oes_standard_derivatives) |
|
piman
2014/08/15 20:37:25
nit: could you add braces in the generator around
Kimmo Kinnunen
2014/08/20 05:59:05
Done.
|
| + EXPECT_CALL(*gl_, |
| + Hint(GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES, GL_DONT_CARE)) |
| + .Times(1) |
| + .RetiresOnSaturation(); |
| EXPECT_CALL(*gl_, LineWidth(1.0f)).Times(1).RetiresOnSaturation(); |
| EXPECT_CALL(*gl_, PixelStorei(GL_PACK_ALIGNMENT, 4)) |
| .Times(1) |