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 dd117162b8a589630fcd8e98db8c5621375a5941..7f8faa2dc6384e5e3697a7fb18793209b8f125a1 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 |
@@ -28,7 +28,7 @@ void GLES2DecoderTestBase::SetupInitCapabilitiesExpectations(bool es3_capable) { |
} |
} |
-void GLES2DecoderTestBase::SetupInitStateExpectations() { |
+void GLES2DecoderTestBase::SetupInitStateExpectations(bool es3_capable) { |
EXPECT_CALL(*gl_, BlendColor(0.0f, 0.0f, 0.0f, 0.0f)) |
.Times(1) |
.RetiresOnSaturation(); |
@@ -82,6 +82,46 @@ void GLES2DecoderTestBase::SetupInitStateExpectations() { |
EXPECT_CALL(*gl_, PixelStorei(GL_UNPACK_ALIGNMENT, 4)) |
.Times(1) |
.RetiresOnSaturation(); |
+ if (es3_capable) { |
+ EXPECT_CALL(*gl_, PixelStorei(GL_PACK_ROW_LENGTH, 0)) |
+ .Times(1) |
+ .RetiresOnSaturation(); |
+ } |
+ if (es3_capable) { |
+ EXPECT_CALL(*gl_, PixelStorei(GL_PACK_SKIP_PIXELS, 0)) |
+ .Times(1) |
+ .RetiresOnSaturation(); |
+ } |
+ if (es3_capable) { |
+ EXPECT_CALL(*gl_, PixelStorei(GL_PACK_SKIP_ROWS, 0)) |
+ .Times(1) |
+ .RetiresOnSaturation(); |
+ } |
+ if (es3_capable) { |
+ EXPECT_CALL(*gl_, PixelStorei(GL_UNPACK_ROW_LENGTH, 0)) |
+ .Times(1) |
+ .RetiresOnSaturation(); |
+ } |
+ if (es3_capable) { |
+ EXPECT_CALL(*gl_, PixelStorei(GL_UNPACK_IMAGE_HEIGHT, 0)) |
+ .Times(1) |
+ .RetiresOnSaturation(); |
+ } |
+ if (es3_capable) { |
+ EXPECT_CALL(*gl_, PixelStorei(GL_UNPACK_SKIP_PIXELS, 0)) |
+ .Times(1) |
+ .RetiresOnSaturation(); |
+ } |
+ if (es3_capable) { |
+ EXPECT_CALL(*gl_, PixelStorei(GL_UNPACK_SKIP_ROWS, 0)) |
+ .Times(1) |
+ .RetiresOnSaturation(); |
+ } |
+ if (es3_capable) { |
+ EXPECT_CALL(*gl_, PixelStorei(GL_UNPACK_SKIP_IMAGES, 0)) |
+ .Times(1) |
+ .RetiresOnSaturation(); |
+ } |
EXPECT_CALL(*gl_, PolygonOffset(0.0f, 0.0f)).Times(1).RetiresOnSaturation(); |
EXPECT_CALL(*gl_, SampleCoverage(1.0f, false)).Times(1).RetiresOnSaturation(); |
EXPECT_CALL(*gl_, |