Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1170)

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder_unittest_0_autogen.h

Issue 1218223005: command_buffer: Implement CHROMIUM_framebuffer_mixed_samples extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-05-path-fragment-input-gen
Patch Set: rebase for commit Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 116b9c6cd78e9b05401500864a081224f7c91c85..dfb66bbc65a7765cf0c5d50cee5b64db96bb01f4 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
@@ -52,6 +52,13 @@ void GLES2DecoderTestBase::SetupInitStateExpectations(bool es3_capable) {
EXPECT_CALL(*gl_, ColorMask(true, true, true, true))
.Times(1)
.RetiresOnSaturation();
+ if (group_->feature_info()
+ ->feature_flags()
+ .chromium_framebuffer_mixed_samples) {
+ EXPECT_CALL(*gl_, CoverageModulationNV(GL_NONE))
+ .Times(1)
+ .RetiresOnSaturation();
+ }
EXPECT_CALL(*gl_, CullFace(GL_BACK)).Times(1).RetiresOnSaturation();
EXPECT_CALL(*gl_, DepthFunc(GL_LESS)).Times(1).RetiresOnSaturation();
EXPECT_CALL(*gl_, DepthMask(true)).Times(1).RetiresOnSaturation();

Powered by Google App Engine
This is Rietveld 408576698