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

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

Issue 11301006: automate more GL state handling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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_1_autogen.h
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h
index 0d5539bcbcccdb141e92b32c2cfad1755646790d..8e2a9193f298e638ca2ae32d2b723b823ca1227f 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h
@@ -680,10 +680,10 @@ TEST_F(GLES2DecoderTest1, DetachShaderValidArgs) {
}
TEST_F(GLES2DecoderTest1, DisableValidArgs) {
- EXPECT_CALL(*gl_, Disable(GL_DITHER));
+ EXPECT_CALL(*gl_, Disable(GL_BLEND));
SpecializedSetup<Disable, 0>(true);
Disable cmd;
- cmd.Init(GL_DITHER);
+ cmd.Init(GL_BLEND);
EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
EXPECT_EQ(GL_NO_ERROR, GetGLError());
}
@@ -720,10 +720,10 @@ TEST_F(GLES2DecoderTest1, DisableVertexAttribArrayValidArgs) {
TEST_F(GLES2DecoderTest1, EnableValidArgs) {
- EXPECT_CALL(*gl_, Enable(GL_DITHER));
+ EXPECT_CALL(*gl_, Enable(GL_BLEND));
SpecializedSetup<Enable, 0>(true);
Enable cmd;
- cmd.Init(GL_DITHER);
+ cmd.Init(GL_BLEND);
EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
EXPECT_EQ(GL_NO_ERROR, GetGLError());
}

Powered by Google App Engine
This is Rietveld 408576698