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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions.cc

Issue 1626363002: command_buffer: Enable gl path rendering by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 10 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
« no previous file with comments | « gpu/command_buffer/service/feature_info_unittest.cc ('k') | gpu/command_buffer/service/gpu_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions.cc b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions.cc
index 7e4728f7fcc092f0e37d6a3c9f2f82018db39c05..e3ab234ccf284b0058ce0b11437b2ee69fcb2673 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions.cc
@@ -194,9 +194,7 @@ class GLES2DecoderTestWithCHROMIUMPathRendering : public GLES2DecoderTest {
init.request_depth = true;
init.bind_generates_resource = true;
init.extensions = "GL_NV_path_rendering GL_NV_framebuffer_mixed_samples";
- base::CommandLine command_line(0, NULL);
- command_line.AppendSwitch(switches::kEnableGLPathRendering);
- InitDecoderWithCommandLine(init, &command_line);
+ InitDecoder(init);
EXPECT_CALL(*gl_, GenPathsNV(1))
.WillOnce(Return(kServicePathId))
@@ -555,9 +553,7 @@ class GLES2DecoderTestWithCHROMIUMFramebufferMixedSamples
init.request_depth = true;
init.bind_generates_resource = true;
init.extensions = "GL_NV_path_rendering GL_NV_framebuffer_mixed_samples ";
- base::CommandLine command_line(0, NULL);
- command_line.AppendSwitch(switches::kEnableGLPathRendering);
- InitDecoderWithCommandLine(init, &command_line);
+ InitDecoder(init);
}
};
« no previous file with comments | « gpu/command_buffer/service/feature_info_unittest.cc ('k') | gpu/command_buffer/service/gpu_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698