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

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

Issue 7099007: Enforce RGB even on buggy drivers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add checks for reading GL_ALPHA_BITS etc. 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
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h
index 5d7375bc8985582839dff610bca83ec6f82b08ff..8f9310311f528e0c3a03c12f0fd992d99687884e 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h
@@ -282,10 +282,10 @@ TEST_F(GLES2DecoderTest2, RenderbufferStorageInvalidArgs3_0) {
}
TEST_F(GLES2DecoderTest2, SampleCoverageValidArgs) {
- EXPECT_CALL(*gl_, SampleCoverage(1, 2));
+ EXPECT_CALL(*gl_, SampleCoverage(1, true));
SpecializedSetup<SampleCoverage, 0>(true);
SampleCoverage cmd;
- cmd.Init(1, 2);
+ cmd.Init(1, true);
EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
EXPECT_EQ(GL_NO_ERROR, GetGLError());
}
@@ -343,7 +343,6 @@ TEST_F(GLES2DecoderTest2, StencilFuncSeparateValidArgs) {
}
TEST_F(GLES2DecoderTest2, StencilMaskValidArgs) {
- EXPECT_CALL(*gl_, StencilMask(1));
SpecializedSetup<StencilMask, 0>(true);
StencilMask cmd;
cmd.Init(1);
@@ -352,7 +351,6 @@ TEST_F(GLES2DecoderTest2, StencilMaskValidArgs) {
}
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