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

Side by Side Diff: content/browser/android/content_startup_flags.cc

Issue 19460019: CC: Disable AA on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/android/content_startup_flags.h" 5 #include "content/browser/android/content_startup_flags.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "cc/base/switches.h" 10 #include "cc/base/switches.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 // Run the GPU service as a thread in the browser instead of as a 66 // Run the GPU service as a thread in the browser instead of as a
67 // standalone process. 67 // standalone process.
68 parsed_command_line->AppendSwitch(switches::kInProcessGPU); 68 parsed_command_line->AppendSwitch(switches::kInProcessGPU);
69 parsed_command_line->AppendSwitch(switches::kDisableGpuShaderDiskCache); 69 parsed_command_line->AppendSwitch(switches::kDisableGpuShaderDiskCache);
70 70
71 // Always use fixed layout and viewport tag. 71 // Always use fixed layout and viewport tag.
72 parsed_command_line->AppendSwitch(switches::kEnableFixedLayout); 72 parsed_command_line->AppendSwitch(switches::kEnableFixedLayout);
73 parsed_command_line->AppendSwitch(switches::kEnableViewport); 73 parsed_command_line->AppendSwitch(switches::kEnableViewport);
74 74
75 // Disable anti-aliasing.
76 parsed_command_line->AppendSwitch(
77 cc::switches::kDisableCompositedAntialiasing);
78
75 if (!plugin_descriptor.empty()) { 79 if (!plugin_descriptor.empty()) {
76 parsed_command_line->AppendSwitchNative( 80 parsed_command_line->AppendSwitchNative(
77 switches::kRegisterPepperPlugins, plugin_descriptor); 81 switches::kRegisterPepperPlugins, plugin_descriptor);
78 } 82 }
79 } 83 }
80 84
81 } // namespace content 85 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698