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

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

Issue 7158002: Revert 89002 - Enforce RGB even on buggy drivers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 6 months 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_2_autogen.h
===================================================================
--- gpu/command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h (revision 89013)
+++ gpu/command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h (working copy)
@@ -282,10 +282,10 @@
}
TEST_F(GLES2DecoderTest2, SampleCoverageValidArgs) {
- EXPECT_CALL(*gl_, SampleCoverage(1, true));
+ EXPECT_CALL(*gl_, SampleCoverage(1, 2));
SpecializedSetup<SampleCoverage, 0>(true);
SampleCoverage cmd;
- cmd.Init(1, true);
+ cmd.Init(1, 2);
EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
EXPECT_EQ(GL_NO_ERROR, GetGLError());
}
@@ -343,6 +343,7 @@
}
TEST_F(GLES2DecoderTest2, StencilMaskValidArgs) {
+ EXPECT_CALL(*gl_, StencilMask(1));
SpecializedSetup<StencilMask, 0>(true);
StencilMask cmd;
cmd.Init(1);
@@ -351,6 +352,7 @@
}
TEST_F(GLES2DecoderTest2, StencilMaskSeparateValidArgs) {
+ EXPECT_CALL(*gl_, StencilMaskSeparate(GL_FRONT, 2));
SpecializedSetup<StencilMaskSeparate, 0>(true);
StencilMaskSeparate cmd;
cmd.Init(GL_FRONT, 2);

Powered by Google App Engine
This is Rietveld 408576698